jaya31
asked on
Export ACTIVE Users Email Address and Name
Hi,
I need to export Active\Enabled users from AD with email address to a csv file. Used the Powershell script below which works, but gives every user disabled\enabled. I just need the enabled users. Thanks in advance for you help
Get-ADUser -Filter * -Properties DisplayName, EmailAddress, Title | select DisplayName, EmailAddress, Title | Export-CSV "C:\Scripts\Email_Addresse s.csv"
I need to export Active\Enabled users from AD with email address to a csv file. Used the Powershell script below which works, but gives every user disabled\enabled. I just need the enabled users. Thanks in advance for you help
Get-ADUser -Filter * -Properties DisplayName, EmailAddress, Title | select DisplayName, EmailAddress, Title | Export-CSV "C:\Scripts\Email_Addresse
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER