Get-AzEnrollmentAccount
Get enrollment accounts.
Syntax
Get-AzEnrollmentAccount
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzEnrollmentAccount
[-ObjectId] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzEnrollmentAccount cmdlet gets enrollment accounts.
Examples
Example 1
Get-AzEnrollmentAccount
ObjectId PrincipalName
-------- -------------
aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb jason@contoso.onmicrosoft.com
7ff524ac-a0de-4402-876f-934ccee3b601 carol@contoso.onmicrosoft.com
Get all available enrollment accounts.
Example 2
Get-AzEnrollmentAccount -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb
ObjectId PrincipalName
-------- -------------
aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb jason@contoso.onmicrosoft.com
Get the enrollment account with the specified object id.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ObjectId
ObjectId of a specific enrollment account to get.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.