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" }

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