Active Directory Module
Requirements
To check if ADWS is running:
Test-NetConnection DC1 -port 9389
Installing Active Directory module
Installing on Windows 10 and 11
Add-WindowsCapability -online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0
Installing on Windows Servers
You can check if the module in installed with:
Get-WindowsFeature -Name "RSAT-AD-PowerShell"
To install:
Install-WindowsFeature -Name "RSAT-AD-PowerShell" –IncludeAllSubFeature
Running AD Module without RSAT or admin privileges
To be able to run Active Directory module without installing RSAT you only require the DLL location inC:\Windows\Microsoft.NET\assembly\GAC_64\Microsoft.ActiveDirectory.Management
from a computer with RSAT installed.
We are then able to grab the signed DLL and drop it on the computer we want to enumerate from and simply import the DLL as a module:
Import-Module .\Microsoft.ActiveDirectory.Management.dll
Last updated