Access Active Directory

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

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

thank you!