If a Windows server (2k3/2k8) is set to "download but not install" updates, is there a way to check from the command line.. perhaps a log file or something I can check with powershell, to see if there are any updates actually waiting to be installed? I'm trying to prevent having to manually log on to each server to check, even though they want the "trigger" pulled manually. We have an automation system in place I can use (CA Autosys) - just not sure what to have it look for.
feedback
|
|
We can use IUpdateSearcher::Search to determine the number of yet to be installed updates:
If you need to do installation by another script, assign the above variables first and add:
| |||
|
feedback
|
|
take a look at http://wuinstall.com/ From their site - "WuInstall is a command line tool for Windows which enables you to install Windows updates for a certain workstation in a controlled way by using a command line script instead of the standard Windows update functionality." | |||
|
feedback
|
