Share via


Set-SPOMultiGeoCompanyAllowedDataLocation

Adds a multi-geo allowed location.

Syntax

Default (Default)

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

Applicable: SharePoint Online

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

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-InitialDomain

Applicable: SharePoint Online

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

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Location

Applicable: SharePoint Online

The Preferred Data Location (PDL) to allow.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Applicable: SharePoint Online Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object