当前位置:网站首页 > 更多 > 玩电脑 > 正文

[玩转系统] 获取 MsolCompanyAllowedDataLocation

作者:精品下载站 日期:2024-12-14 06:25:13 浏览:16 分类:玩电脑

获取 MsolCompanyAllowedDataLocation


PowerShell 中的 Get-MsolCompanyAllowedDataLocation cmdlet 可获取 Microsoft Office 365 中公司当前允许的数据位置。

Get-MsolCompanyAllowedDataLocation 命令从 Azure Active Directory 获取公司当前允许的所有数据位置。

在本文中,我们将讨论如何在 PowerShell 中使用 Get-MsolCompanyAllowedDataLocation cmdlet 来获取公司当前允许的数据位置。

Get-MsolCompanyAllowedDataLocation 语法

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

在哪里,

TenantId:指定要对其执行操作的租户的唯一 ID。

如何获取 Office 365 中公司当前允许的数据位置

要从 Office 365 获取公司当前允许的数据位置,请运行以下命令。

Get-MsolCompanyAllowedDataLocation

此命令从 Azure Active Directory 返回公司当前允许的所有数据位置。

酷提示:如何在 PowerShell 中使用 Set-MsolCompanyAllowedDataLocation!

结论

我希望上述关于在 PowerShell 中使用 Get-MsolCompanyAllowedDataLocation cmdlet 获取 Office 365 中公司当前允许的数据位置的文章对您有所帮助。

您可以在 ShellGeek 主页上找到有关 PowerShell Active Directory 命令和 PowerShell 基础知识的更多主题。

您需要 登录账户 后才能发表评论

取消回复欢迎 发表评论:

关灯