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

Popular posts from this blog

Troubleshooting Netlogon Error Codes

Troubleshooting SCEP certificate profile deployment to Android devices in Microsoft Intune