export for the user list with E-mail id
Powershell to export for the user list with E-mail id
Get-ADUser -SearchBase 'DC=pugazh,DC=in’ -filter * -properties SamAccountName,EmailAddress | ft Name, SamAccountName,EmailAddress | Out-File -FilePath "C:\Userl-list.txt"
Comments
Post a Comment