Created
January 4, 2021 08:33
-
-
Save konijn/c3e96987296f3b307b3d580a9602b0e8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Get-ADUser -filter 'Name -like "*Prath*"' -Properties AccountExpirationDate | Select sAMAccountName, UserPrincipalName, distinguishedName, AccountExpirationDate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Get-ADUser -filter 'Name -like "*Srivas*"' -Properties WhenCreated | Select sAMAccountName, UserPrincipalName, distinguishedName, WhenCreated