A question on the forum asked about finding the accounts and SIDs on the local machine. function get-SID {
param (
[string] $computername = $env:COMPUTERNAME
)
Get-WmiObject -Class Win32_AccountSID -ComputerName $computername |
foreach… Read the full text.