Then we’ll go to the formatting of Get-ADUser output so that the necessary user attributes are displayed. A similar list of user attributes is available in the Active Directory Users and Computers graphical snap-in ( dsa.msc) under the attribute editor tab. ![]() The Get-ADUser cmdlet with the Properties * switch lists all the AD user’s attributes and their values (including empty ones). To display the detailed information about all available user attributes, run this command: Get-ADUSer tstuser -Server -Credential $ADcred If you need to get user data from another AD domain, you need to specify the domain controller name and credentials to access it: ![]() To execute an AD query on a specific domain controller, use the -Server option:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |