Yogeshwaran RforYogi's blogitops.hashnode.dev·Oct 8, 2023Find unknown SID in GPOImport-Module GroupPolicy $gpo = Get-GPO -All Foreach ($g in $gpo) { $permissions = $g.getsecurityinfo() Foreach ($p in $permissions) { If ($p.Trustee.SidType -eq “unknown”) { Write-Host “Policy with unknown SID: $($g.DisplayName)” Write-Host “Truste...Powershell scriptingAdd a thoughtful commentNo comments yetBe the first to start the conversation.