Partition – It specifies the distinguished name of an active directory partition. The identifier specified in parenthesis is the LDAP display name. Identity – It specifies Active Directory user by using below property value To use the Credential parameter, use username as User1 or domain\User1 or you can create and use PSCredential object by using Get-Credential cmdlet. It default accepts the credentials of logged-on users. – Credential PSCredential – It specifies user credentials required to perform the get-aduser cmdlet. SSL (Secure Socket Layer) connection is required to use the Basic Authentication method. It has Negotiate default authentication method. – AuthType – authentication method to use based on either Basic (or 1) or Negotiate (or 0).
Get-AdUser is used to get one or more active directory objects or perform a search to get specific users. Active Directory Get-AdUser syntax as given below Get-ADUser -Filter