{"id":684,"date":"2024-02-24T14:14:00","date_gmt":"2024-02-24T14:14:00","guid":{"rendered":"http:\/\/draith.com\/?p=684"},"modified":"2024-03-07T02:18:31","modified_gmt":"2024-03-07T02:18:31","slug":"powershell-7-5-0-preview-2-changes","status":"publish","type":"post","link":"https:\/\/draith.azurewebsites.net\/?p=684","title":{"rendered":"PowerShell 7.5.0 Preview 2 Changes"},"content":{"rendered":"\n<p>Preview 2 has dropped!  Let&#8217;s look at some of the major things that are coming in this preview.<\/p>\n\n\n\n<p>First &#8211; let&#8217;s look at the breaking changes:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Breaking Changes<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Adjustments have been made to the <code>-OlderThan<\/code> and <code>-NewerThan<\/code> parameters for <code>Test-Path<\/code>, addressing issues when used with <code>PathType<\/code> and a date range\u200b<a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/scripting\/whats-new\/what-s-new-in-powershell-75?view=powershell-7.4\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/li>\n\n\n\n<li>The default <code>CatalogVersion<\/code> for <code>New-FileCatalog<\/code> has been changed to 2\u200b\u200b<\/li>\n\n\n\n<li>Restrictions have been added to block help from network locations in restricted remoting sessions\u200b<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p>And now to the improvements:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Tab Completion Improvements<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Efforts led by contributors like @ArmaanMcleod have refined tab completion, including preventing fallback to file completion when tab completing type names and adding argument completers for various cmdlets like <code>Set-StrictMode<\/code>, <code>Get-Verb<\/code>, <code>Start-Process<\/code>, and more\u200b<a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/scripting\/whats-new\/what-s-new-in-powershell-75?view=powershell-7.4\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Web Cmdlets Improvements<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Fixes have been made to <code>Invoke-WebRequest<\/code> to ensure accurate size reporting when the <code>-Resume<\/code> parameter is specified\u200b<a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/scripting\/whats-new\/what-s-new-in-powershell-75?view=powershell-7.4\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/li>\n\n\n\n<li>Web Cmdlets have been adjusted to allow <code>WinForm<\/code> applications to work correctly\u200b<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Other Cmdlet Improvements<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A range of cmdlet improvements and fixes, including for <code>Test-Connection<\/code>, <code>Get-Service<\/code>, and adding new parameters to <code>New-Guid<\/code>. For instance, <code>New-Guid<\/code> now supports <code>-Empty<\/code> and <code>-InputObject<\/code> parameters\u200b<a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/scripting\/whats-new\/what-s-new-in-powershell-75?view=powershell-7.4\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Engine Improvements<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Enhancements in the engine include telemetry for module imports, adjustments to module load telemetry, and fixes for regressions introduced by the WDAC logging feature\u200b<a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/scripting\/whats-new\/what-s-new-in-powershell-75?view=powershell-7.4\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Experimental Features<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Introduction of tilde expansion for Windows native executables, demonstrating PowerShell&#8217;s ongoing evolution and adaptation\u200b<a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/scripting\/whats-new\/what-s-new-in-powershell-75?view=powershell-7.4\" target=\"_blank\" rel=\"noreferrer noopener\"><\/a><\/li>\n<\/ul>\n\n\n\n<p>\u200b.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Preview 2 has dropped! Let&#8217;s look at some of the major things that are coming in this preview. First &#8211; let&#8217;s look at the breaking changes: Breaking Changes And now to the improvements: Tab Completion Improvements Web Cmdlets Improvements Other Cmdlet Improvements Engine Improvements Experimental Features \u200b.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[16],"class_list":["post-684","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-powershell"],"_links":{"self":[{"href":"https:\/\/draith.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/684","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/draith.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/draith.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/draith.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/draith.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=684"}],"version-history":[{"count":2,"href":"https:\/\/draith.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/684\/revisions"}],"predecessor-version":[{"id":686,"href":"https:\/\/draith.azurewebsites.net\/index.php?rest_route=\/wp\/v2\/posts\/684\/revisions\/686"}],"wp:attachment":[{"href":"https:\/\/draith.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=684"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/draith.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=684"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/draith.azurewebsites.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=684"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}