locked
Install AD command for Powershell RRS feed

  • Question

  • Hello,

    I would like to know if it is possible to install AD command in powershell for Windows Server 2012/2016 without activate adds features ?

    I want to talk to my DC with the simple command Get-ADComputer, like an admin machine.

    Thank you in advance,

    Regards.

    Tuesday, September 24, 2019 1:33 PM

Answers

  • You can just install the Powershell module for Active Directory with the following command:

    Add-WindowsFeature -Name RSAT-AD-PowerShell

    hth


    This posting is provided AS IS without warranty of any kind



    • Edited by cthivierge Tuesday, September 24, 2019 1:39 PM
    • Proposed as answer by F.ABASSI Tuesday, September 24, 2019 1:48 PM
    • Marked as answer by Guillaume Saga Wednesday, September 25, 2019 8:15 AM
    Tuesday, September 24, 2019 1:38 PM

All replies

  • You can just install the Powershell module for Active Directory with the following command:

    Add-WindowsFeature -Name RSAT-AD-PowerShell

    hth


    This posting is provided AS IS without warranty of any kind



    • Edited by cthivierge Tuesday, September 24, 2019 1:39 PM
    • Proposed as answer by F.ABASSI Tuesday, September 24, 2019 1:48 PM
    • Marked as answer by Guillaume Saga Wednesday, September 25, 2019 8:15 AM
    Tuesday, September 24, 2019 1:38 PM
  • wow thank you very much, I wasn't able to found good doc for that
    Wednesday, September 25, 2019 8:16 AM