A list of common PowerShell commands for AD. Retrieve AD user(s) # get AD user – basic attributes Get-ADUser “JohnDo” # get AD user – all attributes Get-ADUser “JohnDo” -Properties […]
An easy way to enable AD object inheritance using Powershell. This can be used for enabling (or disabling) inheritance on multiple AD objects. #$users = Get-ADUser -ldapfilter “(objectclass=user)” -searchbase “DC=domain,DC=local” […]