Created
February 7, 2018 16:23
-
-
Save royashbrook/458b8cc076867bed62c255fdee081ec9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find users by properties: | |
Get-ADUser -f {name -like '*ashbrook*'} | |
Get-ADUser -f {givenname -like '*roy*'} | |
Get-ADUser -f {surname -like '*ashbrook*'} | |
Get-ADUser -f {mail -eq '[email protected]'} | |
Get-ADUser -Filter {surname -eq "ashbrook"} | measure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment