Microsoft.PowerShell.PSResourceGet 1.2.0 preview2 released

Microsoft.PowerShell.PSResourceGet 1.2.0 preview2 released

Hi All,

Today i saw, that there is a new Preview Version of Microsoft.PowerShell.PSResourceGet

Release Notes:

New Features

  • Ingetration of the Azure Artifacts Credential Provider for ADO feeds (#1765)

Bug Fix

  • Bug fixes for NuGet v3 dependencies
  • Bug fix for temporary installation path failure when installing PSResources on Linux machines

I am using the new PSResourceGet here instead of the PowerShellGet commands.

Show installed Versions and what’s available in PowerShell Gallery. You need to use the -Prerelease Parameter to show Preview Versions of a Module

Get-InstalledPSResource -Name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser
Find-PSResource -Name Microsoft.PowerShell.PSResourceGet -Prerelease

I’ve loaded 1.1.1 Version of the Module and tried to uninstall the Preview1

Import-Module -Name Microsoft.PowerShell.PSResourceGet -Version 1.1.1
Uninstall-PSResource -Name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser -Version 1.2.0-preview1

I ended up removing the preview Module in the Modules Directory

Now i can install the new Preview2

Install-PSResource -Name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser -Prerelease
Get-InstalledPSResource -Name Microsoft.PowerShell.PSResourceGet -Scope CurrentUser

Regards
Andres Bohren

PowerShell Logo