PowerShellGet 2.9.0-Preview

PowerShellGet 2.9.0-Preview

Hi All,

A new Preview Version of PowerShellGet is available. This is the compatibility module CompatPowerShellGet to allow for PowerShellGet v2 syntax but actually using PSResourceGet for older scripts.

Get-InstalledModule PowerShellGet
Find-Module PowerShellGet -AllowPrerelease
Install-Module PowerShellGet -AllowPrerelease -Force
Get-InstalledModule PowerShellGet -AllVersions

#PS5
Get-Module
Get-InstalledModule MicrosoftTeams
Get-Module MicrosoftTeams -ListAvailable

#PS7
Import-Module PowerShellGet -RequiredVersion 2.9.0
Get-Module
Get-InstalledModule MicrosoftTeams
Get-Module MicrosoftTeams -ListAvailable

I’ve created an GitHub Issue for the Get-InstalledModule Error

One odd thing i noticed - and this is not new in PoewrShellGet 2.9.0-Preview

The AZ PowerShell Module is installed

In PowerShell 5.1 the AZ Module is not found

Get-Module
Get-Module AZ -ListAvailable

In PowerShell 7.x the AZ Module is found

Get-Module
Get-Module AZ -ListAvailable

I’ve created an GitHub Issue for the Get-Module AZ -ListAvailable in PowerShell 5.1

Regards
Andres Bohren

PowerShell Logo