{"id":19903,"date":"2023-03-31T08:41:30","date_gmt":"2023-03-31T16:41:30","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/powershell\/?p=19903"},"modified":"2023-03-31T10:13:39","modified_gmt":"2023-03-31T18:13:39","slug":"powershellget-3-0-preview-20","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/powershell\/powershellget-3-0-preview-20\/","title":{"rendered":"PowerShellGet 3.0 Preview 20"},"content":{"rendered":"<p dir=\"auto\">We are excited to announce that an update to our preview of PowerShellGet 3.0 is now available on the PowerShell Gallery!<\/p>\n<p dir=\"auto\">This release includes a major refactor of the module to remove the dependency on the NuGet client APIs for remote repositories.<\/p>\n<p dir=\"auto\">This version of the module, along with the <a href=\"https:\/\/www.powershellgallery.com\/packages\/CompatPowerShellGet\/0.0.3\" rel=\"nofollow\">PowerShellGet compatibility module<\/a>, will be shipping in the next preview of PowerShell 7.4 (preview 3).<\/p>\n<h2 dir=\"auto\"><a id=\"user-content-how-to-install-powershellget-30-preview-20\" class=\"anchor\" href=\"https:\/\/github.com\/PowerShell\/PowerShell-Blog\/pull\/214#how-to-install-powershellget-30-preview-20\" aria-hidden=\"true\"><\/a>How to Install PowerShellGet 3.0 Preview 20<\/h2>\n<h3 dir=\"auto\"><a id=\"user-content-prerequisites\" class=\"anchor\" href=\"https:\/\/github.com\/PowerShell\/PowerShell-Blog\/pull\/214#prerequisites\" aria-hidden=\"true\"><\/a>Prerequisites<\/h3>\n<p dir=\"auto\">Please ensure that you have the latest (non-prerelease) version of PowerShellGet and PackageManagement installed. To check the version you currently have installed run the command <code>Get-InstalledModule PowerShellGet, PackageManagement<\/code><\/p>\n<p dir=\"auto\">The latest version of PowerShellGet is 2.2.5, and the latest version of PackageManagement is 1.4.7. To install the latest versions of these modules run the following: <code>Install-Module PowerShellGet -Force -AllowClobber<\/code><\/p>\n<h3 dir=\"auto\"><a id=\"user-content-installing-the-preview\" class=\"anchor\" href=\"https:\/\/github.com\/PowerShell\/PowerShell-Blog\/pull\/214#installing-the-preview\" aria-hidden=\"true\"><\/a>Installing the Preview<\/h3>\n<p dir=\"auto\">To install this preview release side-by-side with your existing PowerShellGet version, open any PowerShell console and run: <code>Install-Module PowerShellGet -Force -AllowPrerelease<\/code><\/p>\n<h2 dir=\"auto\"><a id=\"user-content-what-to-expect-in-this-update\" class=\"anchor\" href=\"https:\/\/github.com\/PowerShell\/PowerShell-Blog\/pull\/214#what-to-expect-in-this-update\" aria-hidden=\"true\"><\/a>What to expect in this update<\/h2>\n<p dir=\"auto\">This update moves off of the NuGet client APIs and uses direct REST API calls for remote repositories. It also includes the below bug fixes.<\/p>\n<h3 dir=\"auto\"><a id=\"user-content-bug-fixes\" class=\"anchor\" href=\"https:\/\/github.com\/PowerShell\/PowerShell-Blog\/pull\/214#bug-fixes\" aria-hidden=\"true\"><\/a>Bug Fixes<\/h3>\n<ul dir=\"auto\">\n<li>Updates to dependency installation<\/li>\n<li>Update to retrieving all packages installed on machine<\/li>\n<li>PSResourceInfo version correctly displays 2 or 3 digit version numbers<\/li>\n<li>Using <code>Find-PSresource<\/code> with <code>-CommandName<\/code> or <code>-DSCResourceName<\/code> parameters returns an object with a properly expanded ParentResource member<\/li>\n<li><code>Find-PSResource<\/code> no longer returns duplicate results<\/li>\n<li><code>Find-PSResource<\/code> lists repository &#8216;PSGalleryScripts&#8217; which does not exist for <code>Get-PSResourceRepository<\/code><\/li>\n<\/ul>\n<h2 dir=\"auto\"><a id=\"user-content-features-to-expect-in-coming-preview-releases\" class=\"anchor\" href=\"https:\/\/github.com\/PowerShell\/PowerShell-Blog\/pull\/214#features-to-expect-in-coming-preview-releases\" aria-hidden=\"true\"><\/a>Features to Expect in Coming Preview Releases<\/h2>\n<p dir=\"auto\">This module is not yet complete. The focus for our next preview release is to move off of the NuGet APIs for local repositories. For the full list of issues for our next preview release please refer to our <a href=\"https:\/\/github.com\/PowerShell\/PowerShellGet\/projects\/20\">GitHub project<\/a>.<\/p>\n<h2 dir=\"auto\"><a id=\"user-content-how-to-track-the-development-of-this-module\" class=\"anchor\" href=\"https:\/\/github.com\/PowerShell\/PowerShell-Blog\/pull\/214#how-to-track-the-development-of-this-module\" aria-hidden=\"true\"><\/a>How to Track the Development of this Module<\/h2>\n<p dir=\"auto\">GitHub is the best place to track the bugs\/feature requests related to this module. We have used a combination of projects and labels on our GitHub repo to track issues for this upcoming release. We are using the label <code>Resolved-3.0<\/code> to label issues that we plan to release at some point before we release the module as GA (generally available).<\/p>\n<p dir=\"auto\">To track issues\/features for the next release, please refer to <a href=\"https:\/\/github.com\/PowerShell\/PowerShellGet\/projects\/20\">this GitHub project<\/a>.<\/p>\n<h2 dir=\"auto\"><a id=\"user-content-how-to-give-feedback-and-get-support\" class=\"anchor\" href=\"https:\/\/github.com\/PowerShell\/PowerShell-Blog\/pull\/214#how-to-give-feedback-and-get-support\" aria-hidden=\"true\"><\/a>How to Give feedback and Get Support<\/h2>\n<p dir=\"auto\">We cannot overstate how critical user feedback is at this stage in the development of the module. Feedback from preview releases help inform design decisions without incurring a breaking change once generally available and used in production.<\/p>\n<p dir=\"auto\">In order to help us to make key decisions around the behavior of the module please give us feedback by opening issues in our <a href=\"https:\/\/github.com\/PowerShell\/PowerShellGet\">GitHub repository<\/a>.<\/p>\n<p dir=\"auto\">Sydney Smith<\/p>\n<p dir=\"auto\">PowerShell Team<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are excited to announce that an update to our preview of PowerShellGet 3.0 is now available on the PowerShell Gallery! This release includes a major refactor of the module to remove the dependency on the NuGet client APIs for remote repositories. This version of the module, along with the PowerShellGet compatibility module, will be [&hellip;]<\/p>\n","protected":false},"author":2299,"featured_media":13641,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[274],"class_list":["post-19903","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","tag-powershellget"],"acf":[],"blog_post_summary":"<p>We are excited to announce that an update to our preview of PowerShellGet 3.0 is now available on the PowerShell Gallery! This release includes a major refactor of the module to remove the dependency on the NuGet client APIs for remote repositories. This version of the module, along with the PowerShellGet compatibility module, will be [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/19903","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/users\/2299"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/comments?post=19903"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/19903\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media\/13641"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media?parent=19903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/categories?post=19903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/tags?post=19903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}