mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Update Ubuntu 22 to be detected as not supported WSMan (#17338)
This commit is contained in:
@@ -392,8 +392,8 @@ function Get-WsManSupport {
|
||||
if (
|
||||
($platformInfo.Platform -match "alpine|raspbian") -or
|
||||
($platformInfo.Platform -eq "debian" -and $platformInfo.Version -ne '9') -or
|
||||
($platformInfo.Platform -eq 'centos' -and $platformInfo.Version -eq '8') -or
|
||||
($platformInfo.Platform -eq 'ubuntu' -and $platformInfo.Version -eq '20.04') -or
|
||||
($platformInfo.Platform -eq 'centos' -and $platformInfo.Version -ne '7') -or
|
||||
($platformInfo.Platform -eq 'ubuntu' -and $platformInfo.Version -notin '18.04', '16.04') -or
|
||||
($platformInfo.Platform -eq 'mariner') -or
|
||||
($platformInfo.Platform -eq 'rhel') -or
|
||||
($platformInfo.Platform -eq 'fedora') -or
|
||||
|
||||
Reference in New Issue
Block a user