Getting the SID of a User, Group, Computer or Domain

This script prints the Security Identifier (SID) of the specified user, group, computer or domain.

This script should be run through a host application that supports VBScript like the Windows Scripting Host or Internet Explorer. The value of the SID is printed in the string format as well as in the byte array format. The output is written to a file "Sid.txt" in the current directory.

image\hdisk.gif ...WSH\VBScript\SecurityIdentifier\