So aktualisieren Sie die PowerShell -Version
#Using the WinGet package manager
winget install --id=Microsoft.PowerShell -e
Thomas
#Using the WinGet package manager
winget install --id=Microsoft.PowerShell -e
Invoke-Expression "& { $(Invoke-Restmethod https://aka.ms/Install-PowerShell.ps1) } -UseMSI"