- # get machine SID via powershell
- # (Cygwin version: bash -c "mkgroup -l | sed -n 's/[^:]*:\(S-[-0-9]*\)-513:.*$/\1/p'")
- #
- (new-object System.Security.Principal.NTAccount("DERFWNB8353$")).Translate( [System.Security.Principal.SecurityIdentifier] ).toString()
get machine SID via powershell
Posted by Anonymous on Mon 11th Nov 2024 09:25
raw | new post
modification of post by Anonymous (view diff)
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.