Domain
# Import PowerView
. .\PowerView.ps1
# Get domain name
Get-NetDomain
# Enumeration of the domain test.local
Get-NetDomain -Domain test.local# Importe DLL without installing RSAT module and without admin right
Import-Module .\Microsoft.ActiveDirectory.Management.dll
# Import module
Import-Module .\ActiveDirectory\ActiveDirectory.psd1
# Find the domain
Get-ADDomain
# Enumerate domain test.local
Get-ADDomain -Identity test.localLast updated