[ADSI]::Exists throws an exception instead of returning False
I'm trying to create a user using the ADSI object if it doesn't already exist. Here are the strange results I'm getting #Check a user that I know exists [ADSI]::Exists("WinNT://localhost/micah,user") #True #Check a group that I know exists [ADSI]::Exists("WinNT://localhost/administrators,group") #True #Check a group that DOESN'T exist [ADSI]::Exists("WinNT://localhost/whoops,group") #False #Check a user that DOESN'T exist (NOT specifying that the obect is a user) [ADSI]::Exists("WinNT://localhost/test") #False (This works fine) #Check a user that DOESN'T exist (specifying that the obect IS a