Forum Discussion
Jakesnyder245
Jun 19, 2021Copper Contributor
remotely trigger a windows update scan
Is there a way to remotely trigger a windows update for business scan using PowerShell on machines that haven’t had users logon to them in awhile?
We’ve recently switched to Intune WUfB and the biggest problem we’ve had are with machines that haven’t been used recently. It seems like an initial logon and check for updates scan resolves it. Would be nice to hit those remote machines with a run script to check for updates in just one batch instead of remotely logging into the machines. Expedited Updates doesn’t do the trick either unfortunately. Is this expected behavior?
We’ve recently switched to Intune WUfB and the biggest problem we’ve had are with machines that haven’t been used recently. It seems like an initial logon and check for updates scan resolves it. Would be nice to hit those remote machines with a run script to check for updates in just one batch instead of remotely logging into the machines. Expedited Updates doesn’t do the trick either unfortunately. Is this expected behavior?
1 Reply
- ychakarovBrass Contributor
Helle Jakesnyder245,
You can reach your goal only with these three commands:
Install-Module PSWindowsUpdate -Force
Get-WindowsUpdate
Install-WindowsUpdate -NotCategory "Drivers" -AcceptAll -IgnoreRebootYou can even be more granular.
Check this article: http://woshub.com/pswindowsupdate-module/#h2_4