AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Clears any default AWS region set in the shell variable $StoredAWSRegion.

Syntax

Clear-DefaultAWSRegion
-Scope <VariableScope>

Description

Clears any default AWS region set in the shell variable $StoredAWSRegion.

Parameters

-Scope <VariableScope>
This parameter allows to specify the scope of the region configuration to clear. For details about variables scopes see https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_scopes.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)

Inputs

This cmdlet does not accept pipeline input.

Outputs

None
This cmdlet does not generate any output.

Supported Version

AWS Tools for PowerShell: 2.x.y.z