Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [string]$FirstName = Read-Host "User First Name"
- [string]$LastName = Read-Host "User Last Name"
- [string]$FullName = "*$FirstName* *$LastName*"
- write-host
- Get-ADUser -Filter {name -like $FullName} -properties * | select-object name, samaccountname | sort-object
- read-host "Press Enter to exit"
- [string]$Login = Read-Host "User Login name"
- [string]$LoginName = "*$Login*"
Add Comment
Please, Sign In to add comment