How to Extract users from AD
User Powershell:
Get-ADuser -Filter {(Enabled -eq $True)} -Properties * | Select-Object name, lastlogon | export-csv -path EnabledUsers.csv
Get-ADUser -filter * -Properties * | export-csv -path AllUsers.csv
Kon Belieu
How to Extract users from AD
User Powershell:
Get-ADuser -Filter {(Enabled -eq $True)} -Properties * | Select-Object name, lastlogon | export-csv -path EnabledUsers.csv
Get-ADUser -filter * -Properties * | export-csv -path AllUsers.csv
Kon Belieu
Tags:
Comments are closed