Does Install-WindowsFeature force a reboot?

Welcome Forums General PowerShell Q&A Does Install-WindowsFeature force a reboot?

Viewing 2 reply threads
  • Author
    • #226491
      Topics: 2
      Replies: 0
      Points: 27
      Rank: Member

      Will running the below command on a non-dc server force a reboot?:

      Install-WindowsFeature RSAT-AD-PowerShell;


      Or will it just tell me to manually reboot later? Thank you. Trying to test powershell AD info commands on another server

      • This topic was modified 8 months, 3 weeks ago by Anon123987621.
    • #226500
      Topics: 9
      Replies: 707
      Points: 2,847
      Helping Hand
      Rank: Community Hero

      Don’t forget about -whatif

      On my test server it did not.

    • #226506
      Topics: 0
      Replies: 2
      Points: 31
      Rank: Member

      If you don’t want it to restart the server you can run it as follows:

      Install-WindowsFeature -Name RSAT-AD-Powershell -Restart:$false


Viewing 2 reply threads
  • The topic ‘Does Install-WindowsFeature force a reboot?’ is closed to new replies.