[verified] | Add-windowscapability -online -name Rsat.activedirectory
Add-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS.Tools~~~~0.0.1.0 Use code with caution. 3. Verify the Module Once finished, check if you can access the AD cmdlets: powershell Get-Command -Module ActiveDirectory Use code with caution. ❌ Troubleshooting Common Errors
If the target machine lacks internet access, the administrator must point to a side-by-side feature repository: Add-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools -Source "C:\Path\To\Source" add-windowscapability -online -name rsat.activedirectory