Access Active Directory

avatar

how do i acces active directory while im using a vm where powershel universal is installed?

avatar
(anonymous user)

Recommended Answer

Assuming the VM is domain joined
Install RSAT to get the AD Modules (Install-WindowsFeature -Name RSAT-AD-PowerShell)

Then use the module ActiveDirectory (fx Get-ADuser).

Alternativly use LDAP Tutorial Powershell - Perform LDAP query on Active Directory

All Comments (2)

avatar

Assuming the VM is domain joined
Install RSAT to get the AD Modules (Install-WindowsFeature -Name RSAT-AD-PowerShell)

Then use the module ActiveDirectory (fx Get-ADuser).

Alternativly use LDAP Tutorial Powershell - Perform LDAP query on Active Directory

avatar

thank you!