Frequently Asked Question
How to use PowerShell to create a User List
Last Updated 2 years ago
PowerShell command for creating an active directory userlist
Command:
Get-ADUser -Filter * -Properties * | Select Name, DisplayName, SamAccountName, UserPrincipalName
Output:
Name DisplayName SamAccountName UserPrincipalName
---- ----------- -------------- -----------------