-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Hello,
I am trying to delete a user account that was put on the servers by a gpo but has now been deleted from AD. I have tried:
Remove-ADAccountasLocalAdministrator.ps1 -Computer C85194 -Trustee S-1-5-21-791979409-2170594181-2350697253-311158
Remove-ADAccountasLocalAdministrator.ps1 -Computer C85194 -Trustee WinNT://S-1-5-21-791979409-2170594181-2350697253-311158
Both run and appear to have run successfully but after checking computer... the SID is still there.
Any thoughts?
Bill
Metadata
Metadata
Assignees
Labels
No labels