SCRIPT: Remotely install Windows Updates
[source]
net use \\%computer%\admin$
xcopy wua.vbs \\%computer%\admin$
<span style="font-family: Calibri; font-size: 11pt;">psexec.exe @.txt -s " C:\Windows\System32\cscript.exe" "</span><span style="font-family: Calibri; font-size: 11pt;">c:\Windows\wua.vbs</span><span style="font-family: Calibri; font-size: 11pt;">" /Nologo</span>
wmic /node%computer% qfe list full /format:htable > %computer%_hotfixes.htm
[/source]
Operation Procedure
- Preparation Reboot
- Services Check
- Updates
- Services Check
- Services Compare
- MBSA report
Config Manager Software Center
wmic /node:localhost ComputerSystem get PCSystemType
wmic /node:localhost qfe list full
Systeminfo
MBSA Scan
http://msdn.microsoft.com/en-us/library/windows/desktop/aa387102(v=vs.85).aspx
- http://www.systemcentercentral.com/patching-windows-servers-with-configmgr-2012/
- http://happysccm.com/automate-sending-out-windows-update-reports-for-adr-rules/
- http://blogs.technet.com/b/server-cloud/archive/2012/03/28/business-hours-vs-maintenance-windows-with-system-center-2012-configuration-manager.aspx
- http://ccmexec.com/2012/12/script-to-set-automatically-install-or-uninstall-on-configmgr2012-clients/
- http://www.systemcentercentral.com/download/wua-patch-installation-script-vbscript-version/