Share via


Get-MsolCompanyAllowedDataLocation

從 Azure Active Directory 取得公司目前允許的資料位置。

Syntax

Get-MsolCompanyAllowedDataLocation
   [-TenantId <Guid>]
   [<CommonParameters>]

Description

Get-MsolCompanyAllowedDataLocation Cmdlet 會從 Azure Active Directory 取得公司目前允許的所有資料位置。 如果公司未加入宣告跨國功能,或沒有允許的資料位置,Cmdlet 會傳回空白清單。

範例

範例 1:取得目前允許的資料位置

PS C:\> Get-MsolCompanyAllowedDataLocation

此命令會從 Azure Active Directory 傳回公司的所有目前允許資料位置。

參數

-TenantId

指定要在其中執行作業之租使用者的唯一識別碼。 預設值為目前使用者的租使用者。 此參數僅適用于合作夥伴使用者。

Type:Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

輸出

Microsoft.Online.Administration.AllowedDataLocation

此 Cmdlet 會從 Azure Active Directory 傳回公司目前允許的所有資料位置。 如果公司未加入宣告跨國功能,或沒有允許的資料位置,則 Cmdlet 會傳回空白清單。