你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Get-AzureADObjectByObjectId

检索 objectIds 参数指定的对象 (s)

语法

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

说明

检索 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

一个或多个对象 ID,用逗号分隔,为其检索对象

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