共用方式為


Get-AzureADUserLicenseDetail

擷取使用者的授權詳細數據

Syntax

Get-AzureADUserLicenseDetail
   -ObjectId <String>
   [<CommonParameters>]

Description

THis Cmdlet 會擷取用戶的授權詳細數據

範例

範例 1

PS C:\WINDOWS\system32> Get-AzureADUserLicenseDetail -ObjectId df19e8e6-2ad7-453e-87f5-037f6529ae16

ObjectId                                    ServicePlans
--------                                    ------------
Hv-1hQIEDECePA-ellMl0cjsRfKvdY5Pth8n2BFN5fM {class ServicePlanInfo {...
Hv-1hQIEDECePA-ellMl0QQrjQe98RFBu9S0sbNUzvQ {class ServicePlanInfo {...

此範例會擷取透過 ObjectId 參數所指定使用者的授權詳細數據

參數

-ObjectId

擷取授權詳細數據之用戶的物件標識碼

類型:String
Position:Named
預設值:None
必要:True
Accept pipeline input:True
Accept wildcard characters:False

輸入

String

輸出

Object