Last Update: Sep 24, 2024 | Published: Jan 16, 2014
There are occasions where it might be necessary to run PowerShell Active Directory (AD) cmdlets on a server that is not a domain controller. In general, the AD cmdlets get installed on domain controllers so they are always available, but they are not installed by default on member servers. In this Ask the Admin, I’ll show you two ways to get the PowerShell AD module installed on a Windows Server 2012 (or later) member server.
Log on to your member server with a local or domain administrator account:
If you want a quicker way to get the AD PowerShell module installed on your server, you can use PowerShell. Log on to your member server with a local or domain administrator account:
Wait for the PowerShell module to install and you will now be able to run AD PowerShell cmdlets.
Don’t forget you need to be running the PowerShell console with appropriate permissions to access Active Directory. If you want to uninstall the AD module, open a PowerShell console, type Remove-WindowsFeature RSAT-AD-PowerShell and press Enter. Restart the server if prompted.