79498001

Date: 2025-03-10 12:37:08
Score: 1
Natty:
Report link

The easiest way how to retrieve the localized name is to create a new Security Identifier with corresponding Sid and then retrieve the name.

(New-Object System.Security.Principal.SecurityIdentifier "S-1-5-18").Translate([System.Security.Principal.NTAccount]).Value
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: lijevosmetalo