Benudhar Sahoo.
Messaging and collaboration Tips and Tricks
Monday, August 20, 2018
Get-ADuser when you know the email address only
Sometimes we get the email address as input and we have to get the AD account details for those users using PowerShell.
Try the below cmdlet.
Get-ADUser -Filter {emailaddress -like "benudhar.sahoo@contoso.com"} -Properties emailaddress
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment