Will Force Restart command let patches be applied ?

Welcome Forums General PowerShell Q&A Will Force Restart command let patches be applied ?

This topic contains 2 replies, has 2 voices, and was last updated by

 
Participant
1 year, 3 months ago.

  • Author
    Posts
  • #78383

    Participant
    Points: 0
    Rank: Member

    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.

  • #78442

    Participant
    Points: 0
    Rank: Member

    -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

    • #78443

      Participant
      Points: 0
      Rank: Member

      Hi Richard,

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

      Regards

      Si

The topic ‘Will Force Restart command let patches be applied ?’ is closed to new replies.