I'm looking to run a batch file in my organization
Shutdown /s /f /m \\Computer1
Shutdown /s /f /m \\Computer2
Shutdown /s /f /m \\Computer3
Shutdown /s /f /m \\Computer4
but I want to install any pending updates first.
Is there a way through a script / batch file , powershell that this can be done that I can run as a scheduled task from a remote computer.
From a windows 7 computer ( my computer ) I want to have a scheduled task that runs ever day at 4:30 AM which will install any pending updates on a computer in my organization and then shutdown the computer or restart the computer.
Any thoughts and answers are appreciated