Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Import-Module activedirectory
- [string]$Name = "Larry Page"
- Get-ADUser -Filter 'Name -like "$Name"'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement