Powershell – AD – Installing and using the Active-Directory Module locally

The Active Directory module is easily one of the most essential modules for Powershell that provides incredible functionality in regards to managing your AD environment.


Installation Steps

  1. Windows 10 – Download and install the Remote Server Administration Tools(stored here as at 09/02/2017).
  2. Reboot your machine.

Usage

Attempt one of the Active-Directory commandlets, eg. Get-ADUser. It should automatically import the module. If not you can run “Import-Module  ActiveDirectory”.

Use the below command to show you all available commands that you can now begin to use.

Code


Get-Command | where {$_.Source -eq "ActiveDirectory"}

ADModule.png

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s