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
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
Don’t forget about -whatif
Install-WindowsFeature RSAT-AD-PowerShell -WhatIf
What if: Continue with installation?
What if: Performing installation for "[Remote Server Administration Tools] Active Directory module for Windows PowerShell".
What if: Performing installation for "[Remote Server Administration Tools] AD DS and AD LDS Tools".
What if: The target server may need to be restarted after the installation completes.
Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
True Maybe Success {Active Directory module for Windows Power...
On my test server it did not.
Install-WindowsFeature RSAT-AD-PowerShell
Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
True No Success {Active Directory module for Windows Power...
If you don’t want it to restart the server you can run it as follows:
Install-WindowsFeature -Name RSAT-AD-Powershell -Restart:$false