Powershell AD User Commands
Get-ADUser -SearchBase “OU=Lincoln,OU=RHSC,dc=rhsc,dc=local” -Filter * -Properties DisplayName, EmailAddress | select DisplayName, EmailAddress | Export-CSV "C:\Scripts\Email_Addresses.csv"
Get-ADUser SearchBase "" -Filter * -Properties * | FT DisplayName, msNPAllowDialin
No Comments