PowerShell 5.1 will co-exist nicely with PowerShell 7 and the PowerShell 7 install does NOT require a reboot so you can safely upgrade during business hours
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon' -Name Shell -Value 'C:\Program Files\PowerShell\7\pwsh.exe -NoExit'
This website uses cookies.