Get-AzEnrollmentAccount
Dapatkan akun pendaftaran.
Sintaks
Get-AzEnrollmentAccount
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzEnrollmentAccount
[-ObjectId] <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Deskripsi
Cmdlet Get-AzEnrollmentAccount mendapatkan akun pendaftaran.
Contoh
Contoh 1
Get-AzEnrollmentAccount
ObjectId PrincipalName
-------- -------------
dbd8453d-071f-4fb4-8e01-c99f5b067649 jason@contoso.onmicrosoft.com
7ff524ac-a0de-4402-876f-934ccee3b601 carol@contoso.onmicrosoft.com
Dapatkan semua akun pendaftaran yang tersedia.
Contoh 2
Get-AzEnrollmentAccount -ObjectId dbd8453d-071f-4fb4-8e01-c99f5b067649
ObjectId PrincipalName
-------- -------------
dbd8453d-071f-4fb4-8e01-c99f5b067649 jason@contoso.onmicrosoft.com
Dapatkan akun pendaftaran dengan id objek yang ditentukan.
Parameter
-DefaultProfile
Kredensial, akun, penyewa, dan langganan yang digunakan untuk komunikasi dengan azure
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ObjectId
ObjectId dari akun pendaftaran tertentu untuk didapatkan.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Input
None