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"

Comments

Popular posts from this blog

Exchange Move Request

Organizational unit blank in Exchange admin center

WINDOWS SERVER 2012 “THE USER PROFILE SERVICE SERVICE FAILED THE LOGON. USER PROFILE CANNOT BE LOADED.” WHEN SIGINING INTO A SERVER THROUGH RDP”.