Enumerating Domain SID

PowerView

Get SID (Security Identifier) of the current domain

Get-DomainSID

Get Domain's SID (Security Identifier) of another domain

Get-DomainSID -Domain <DOMAIN NAME>

Active Directory Module

Get current domain's SID (Security Identifier)

(Get-ADDomain).DomainSID

Last updated