Get-ADPrincipalGuid¶
Synopsis¶
Get principal GUID details
Syntax¶
Get-ADPrincipalGuid [-domain] <String> [-user] <String> [-pass] <String> [-principal] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description¶
The Get-ADPrincipalGuid
cmdlet retrieves the GUID details for an Active Directory user or group from a domain.
Examples¶
Example 1¶
Get-ADPrincipalGuid -domain sfo.rainpole.io -user svc-vsphere-ad -pass VMw@re1! -principal gg-sso-admin
This example retrieves the details for the group gg-sso-admin from the domain.
Parameters¶
-domain¶
The Active Directory Domain name.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-user¶
The Active Directory Domain user account to bind to.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-pass¶
The Active Directory Domain user account password.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-principal¶
The Active Directory Domain user or group name.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction¶
Progress Action
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Common Parameters¶
This cmdlet supports the common parameters: -Debug
, -ErrorAction
, -ErrorVariable
, -InformationAction
, -InformationVariable
, -OutVariable
, -OutBuffer
, -PipelineVariable
, -Verbose
, -WarningAction
, and -WarningVariable
. For more information, see about_CommonParameters.