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 -
if (($ADUser = Get-ADUser -filter "SamAccountName -eq '$(Read-Host Username)'") -ne $null) {$ADUser.SamAccountName} else {"Not Found"}