Posts

Showing posts with the label Power shell script for getting users information from Active Directory

Power shell script for getting users information from Active Directory

Get-ADUser -Filter * -Properties sn, DisplayName, mail, Title, Mobile| where {$_.enabled -eq "True"} |select sn, DisplayName, mail, Title, Mobile | Export-CSV "C\Mobile_Information.csv"