i have fixed it thanks
updates are failing
Roger Roger
4,951
Reputation points
Hi all
i am trying to install windows updates on one of my Windows Server 2012R2 server and updates are failing.
if i remove staged updates using below syntax and try to install windows updates will the updates gets installed.
Get-WindowsPackage -Online | where { $.PackageState -eq 'Staged'} | foreach { Remove-WindowsPackage -PackageName $.PackageName -Online -NoRestart }