Administrator
get-aduser -Filter * | Where-Object { $_.SID -like "S-1-5-21-*-500" }
Guest
get-aduser -Filter * | Where-Object { $_.SID -like "S-1-5-21-*-501" }
Administrator
get-aduser -Filter * | Where-Object { $_.SID -like "S-1-5-21-*-500" }
Guest
get-aduser -Filter * | Where-Object { $_.SID -like "S-1-5-21-*-501" }