Download Powershell — 5.1 For Windows Server 2012 R2 Better
After uninstall, PowerShell reverts to 4.0.
Even with PS 5.1, some environments need a newer PowerShellGet module: download powershell 5.1 for windows server 2012 r2
Write-Host "Installation complete. Reboot required." -ForegroundColor Green Read-Host "Press Enter to reboot now" Restart-Computer After uninstall, PowerShell reverts to 4
The same .msu file works on installations. You must run wusa.exe from the command line. Ensure you have access to the installation media for prerequisites. download powershell 5.1 for windows server 2012 r2