Skip to main content

Find-SID

SYNOPSIS​

This function finds what Active Directory object the specified SID belongs to.

SYNTAX​

Find-SID [-SID] <String> [<CommonParameters>]

DESCRIPTION​

This function finds what Active Directory object the specified SID belongs to.

EXAMPLES​

EXAMPLE 1​

Find-SID "S-1-5-21-1454471165-1004335555-1606985555-5555"
Finds what Active Directory object the specified SID belongs to.

PARAMETERS​

-SID​

Mandatory parameter. Specify the SID you want to search for.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters​

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS​

OUTPUTS​

System.Object​

NOTES​

ALIASES​

None.

PLATFORM APPLICABILITY​

Windows only. The platform-aware loader does not export this command on Linux or macOS.

POWERSHELL COMPATIBILITY​

See PowerShell compatibility for the supported runtime policy. PowerShell 7.6 LTS is preferred.

https://docs.keldor.dev/powershell/keldor/Find-SID