Skip to content

Latest commit

 

History

History
130 lines (91 loc) · 2.77 KB

File metadata and controls

130 lines (91 loc) · 2.77 KB
external help file Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
Module Name Microsoft.Online.SharePoint.PowerShell
online version https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/set-spomultigeocompanyalloweddatalocation
applicable SharePoint Online
title Set-SPOMultiGeoCompanyAllowedDataLocation
schema 2.0.0
author techwriter40
ms.author pamgreen
ms.reviewer

Set-SPOMultiGeoCompanyAllowedDataLocation

SYNOPSIS

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

-InitialDomain

Applicable: SharePoint Online

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

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Location

Applicable: SharePoint Online

The Preferred Data Location (PDL) to allow.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Applicable: SharePoint Online

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

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

-WhatIf

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

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

CommonParameters

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

INPUTS

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

Remove-SPOMultiGeoCompanyAllowedDataLocation