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

Returns the current default AWS region for this shell, if any, as held in the shell variable $StoredAWSRegion.

Syntax

Get-DefaultAWSRegion

Description

Returns the current default AWS region for this shell, if any, as held in the shell variable $StoredAWSRegion.

Parameters

This cmdlet has no parameters specific to its operation.

Inputs

This cmdlet does not accept pipeline input.

Outputs

AWSRegion
AWSRegion instance mapping to the default AWS region stored in $StoredAWSRegion.

Supported Version

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