共用方式為


Get-AzureADUserCreatedObject

取得使用者所建立的物件。

語法

Get-AzureADUserCreatedObject
   -ObjectId <String>
   [-All <Boolean>]
   [-Top <Int32>]
   [<CommonParameters>]

Description

Get-AzureADUserCreatedObject Cmdlet 會取得 Azure Active Directory (AD) 中使用者所建立的物件。

範例

範例 1:取得使用者建立的物件

PS C:\>Get-AzureADUserCreatedObject -ObjectId "df19e8e6-2ad7-453e-87f5-037f6529ae16"

ObjectId                             ObjectType
--------                             ----------
f618e073-cda3-4fc7-b8bd-5ad63f19840f ServicePrincipal
ed70f968-38ec-48d6-ae58-decfe80bfd5f ServicePrincipal
35ab4659-f61c-4a75-98d2-ef1d04ac2095 ServicePrincipal
d0ce9d42-c943-43a1-a0b0-b1ded8d0ce3d ServicePrincipal

此命令會取得指定使用者所建立的物件。

參數

-All

如果為 true,則傳回此使用者建立的所有物件。 如果為 false,則傳回 Top 參數所指定的物件數目

類型:Boolean
Position:Named
預設值:None
必要:False
接受管線輸入:True
接受萬用字元:False

-ObjectId

指定標識子 (為 Azure AD 中使用者的 UPN 或 ObjectId) 。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-Top

指定要傳回的記錄數目上限。

類型:Int32
Position:Named
預設值:None
必要:False
接受管線輸入:True
接受萬用字元:False