Skip to content

Instantly share code, notes, and snippets.

@Iristyle
Created July 28, 2017 17:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Iristyle/4a6f8f7dfcd6bfc70f722ba89107cbec to your computer and use it in GitHub Desktop.
Save Iristyle/4a6f8f7dfcd6bfc70f722ba89107cbec to your computer and use it in GitHub Desktop.
WMI type accelerator queries

Command

[wmi] "Win32_SID.SID='S-1-15-2-1'"

Output

__GENUS              : 2
__CLASS              : Win32_SID
__SUPERCLASS         :
__DYNASTY            : Win32_SID
__RELPATH            : Win32_SID.SID="S-1-15-2-1"
__PROPERTY_COUNT     : 5
__DERIVATION         : {}
__SERVER             : L0RXCKK6739LQ6E
__NAMESPACE          : root\cimv2
__PATH               : \\L0RXCKK6739LQ6E\root\cimv2:Win32_SID.SID="S-1-15-2-1"
AccountName          : ALL APPLICATION PACKAGES
BinaryRepresentation : {1, 2, 0, 0...}
ReferencedDomainName : APPLICATION PACKAGE AUTHORITY
SID                  : S-1-15-2-1
SidLength            : 16
PSComputerName       : L0RXCKK6739LQ6E
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment