I\'d like to check if a user account already exists in the system.
$SamAc = Read-Host \'What is your username?\' $User = Get-ADUser -Filter {sAMAccountName -
Little addendum if anyone like me got here and was still tearing their hair out:
-properties *
Would be quite a common this to have in this query. Doesn't work, I'm sure someone smarter than me can figure it out
-properties mail,cn,wtf
etc does work as expected