Set-SPOMultiGeoCompanyAllowedDataLocation

添加允许的多地理位置位置。

语法

Default (默认值)

Set-SPOMultiGeoCompanyAllowedDataLocation
    [-Location] <String>
    [-InitialDomain] <String>
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

说明

使用此 cmdlet 设置允许的多地理位置位置。

示例

示例 1

Set-SPOMultiGeoCompanyAllowedDataLocation -Location AUS -Domain contoso.com

将 AUS (澳大利亚) 设置为域 contoso.com 允许的多地理位置。

参数

-Confirm

适用:SharePoint Online

执行命令前,看到确认提示。 有关详细信息,请键入以下命令:get-help about_commonparameters

参数属性

类型:System.Management.Automation.SwitchParameter
默认值:None
支持通配符:False
不显示:False
别名:cf

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-InitialDomain

适用:SharePoint Online

设置要与指定数据位置关联的初始域。

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:1
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Location

适用:SharePoint Online

首选数据位置 (允许的 PDL) 。

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:0
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-WhatIf

适用:SharePoint Online 显示运行 cmdlet 时会发生什么情况。 此 cmdlet 未运行。

参数属性

类型:System.Management.Automation.SwitchParameter
默认值:None
支持通配符:False
不显示:False
别名:无线

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters

输入

None

输出

System.Object