Muokkaa

Jaa


Set-SPOMultiGeoCompanyAllowedDataLocation

Adds a multi-geo allowed location.

Syntax

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

Description

Use this cmdlet to set the multi-geo allowed locations.

Examples

Example 1

Set-SPOMultiGeoCompanyAllowedDataLocation -Location AUS -Domain contoso.com

Sets AUS (Australia) as an allowed multi-geo location for the domain contoso.com.

Parameters

-Confirm

Prompts you for confirmation before executing the command. For more information, type the following command: get-help about_commonparameters

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-InitialDomain

Sets the initial domain to associate with the specified data location.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-Location

The Preferred Data Location (PDL) to allow.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-WhatIf

Displays a message that describes the effect of the command instead of executing the command. For more information, type the following command: get-help about_commonparameters

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online