Get-AzureADObjectByObjectId

擷取 objectIds 參數所指定的物件 (s)

Syntax

Get-AzureADObjectByObjectId
   -ObjectIds <System.Collections.Generic.List`1[System.String]>
   [-Types <System.Collections.Generic.List`1[System.String]>]
   [<CommonParameters>]

Description

擷取 objectIds 參數所指定的物件 (s)

範例

範例 1

PS C:\WINDOWS\system32> Get-AzureADObjectByObjectId -ObjectIds 2af3478a-27da-4837-a387-b22b3fb236a8, c4fdf87f-f68e-4859-8bcf-36579b66005e

ObjectId                             AppId                                DisplayName
--------                             -----                                -----------
c4fdf87f-f68e-4859-8bcf-36579b66005e 71715b24-8cdd-432b-a138-86e8ad179274 Woodgrove HR App

DeletionTimeStamp                   :
ObjectId                            : 2af3478a-27da-4837-a387-b22b3fb236a8
ObjectType                          : DeviceConfiguration
PublicIssuerCertificates            : {}
CloudPublicIssuerCertificates       : {}
RegistrationQuota                   : 20
MaximumRegistrationInactivityPeriod : 90

在此範例中,會擷取兩個物件 (DeviceConfiguration 物件和 Application 物件) ,如 ObjectIds 參數的值所指定

參數

-ObjectIds

一或多個物件識別碼,以逗號分隔,其中會擷取物件

Type:List<T>[String]
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Types

指定 Cmdlet 傳回的物件類型

Type:List<T>[String]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

輸入

None

輸出

Object