external help file | Module Name | ms.assetid | ms.custom | ms.reviewer | online version | schema |
---|---|---|---|---|---|---|
Microsoft.Open.AzureAD16.Graph.PowerShell.dll-Help.xml |
AzureADPreview |
45AD85CB-E30B-412B-945E-64187DD0E9BA |
iamfeature=PowerShell |
rodejo |
2.0.0 |
Gets the manager of a contact.
Get-AzureADContactManager -ObjectId <String> [-InformationAction <ActionPreference>]
[-InformationVariable <String>] [<CommonParameters>]
The Get-AzureADContactManager cmdlet gets the manager of a contact in Azure Active Directory.
PS C:\> $Contact = Get-AzureADContact -Top 1
PS C:\> Get-AzureADContactManager -ObjectId $Contact.ObjectId
The first command gets a contact by using the Get-AzureADContact cmdlet, and then stores it in the $Contact variable.
The second command gets the manager for $Contact.
Specifies how this cmdlet responds to an information event.
The acceptable values for this parameter are:
- Continue
- Ignore
- Inquire
- SilentlyContinue
- Stop
- Suspend
Type: ActionPreference
Parameter Sets: (All)
Aliases: infa
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies an information variable.
Type: String
Parameter Sets: (All)
Aliases: iv
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the ID of a contact in Azure Active Directory.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.