共用方式為


Get-SPOStorageEntity

租使用者屬性可讓租用戶系統管理員在應用程式目錄中新增可由各種 SharePoint 架構元件讀取的屬性。 由於租使用者屬性會儲存在租使用者應用程式目錄中,因此您必須在下列 Cmdlet 中提供租使用者應用程式類別目錄網站集合 URL 或網站集合應用程式目錄 URL。 此 Cmdlet 可用來取得屬性包中的值。

語法

Default (預設值)

Get-SPOStorageEntity
    [-Site] <SpoSitePipeBind>
    [-Key] <String>
    [<CommonParameters>]

Description

使用此 Cmdlet 取得屬性包中的值。

範例

範例 1

Get-SPOStorageEntity -Site "https://tenant-name.sharepoint.com/sites/app-catalog" -Key "MyCustomValues"

此範例會傳回屬性包中的整個專案。

參數

-Key

適用:SharePoint Online

屬性包中應該傳回的索引鍵。

參數屬性

類型:System.String
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:1
必要:True
來自管線的值:True
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-Site

適用:SharePoint Online

租使用者或網站集合應用程式目錄的 URL。

參數屬性

類型:Microsoft.Online.SharePoint.PowerShell.SpoSitePipeBind
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:0
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

CommonParameters

此 Cmdlet 支援一般參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters

輸入

System.String

輸出

System.Object