Author Posts

August 30, 2017 at 2:32 pm

Hi All,

Sorry if this is a stupid question. But in work I have been asked to create powershell scripts for scheduling reboots of all the servers to apply the patches that get pushed out to them. Some of the servers hang on the way down so I was going to put in a Restart -force in the script. But my question is that if I do put the -force in will it let the patches be applied on the way down?

Thanks for you help.

August 30, 2017 at 8:02 pm

-force just overrides anyone being logged in. If your patch is applied and the machine is waiting a restart then -Force (or not) on the restart will cause the patch to apply

August 30, 2017 at 8:06 pm

Hi Richard,

Thanks for the reply thats great it is how I hoped it worked thanks.

Regards

Si