Release: AWS Tools for Windows PowerShell 1.0.1

Release Notes>Release: AWS Tools for Windows PowerShell 1.0.1
This release adds support for AWS Direct Connect, AWS Data Pipeline and Amazon Elastic Block Store (EBS) Snapshot Copy, updates the install location and Windows PowerShell's 'PSModulePath' to enable automatic module loading with Windows PowerShell version 3, and updates the Clear-AWSDefaults cmdlet to erase any default stored region as well as credentials.

Details

Submitted By: Steve@AWS
Created On: December 21, 2012 7:13 PM GMT
Last Updated: December 21, 2012 8:42 PM GMT

Download

Download the latest AWS Tools for Windows

See http://aws.amazon.com/documentation/powershell/ for documentation and other getting started material on AWS Tools for Windows PowerShell.

Features

AWS Direct Connect

AWS Direct Connect links your internal network to an AWS Direct Connect location over a standard 1 gigabit or 10 gigabit Ethernet fiber-optic cable. One end of the cable is connected to your router, the other to an AWS Direct Connect router. With this connection in place, you can create virtual interfaces directly to the AWS cloud (for example, to Amazon Elastic Compute Cloud and Amazon Simple Storage Service) and Amazon Virtual Private Cloud, bypassing Internet service providers in your network path. An AWS Direct Connect location provides access to Amazon Web Services in the region it is associated with. You can establish connections with AWS Direct Connect locations in multiple regions, but a connection in one region does not provide connectivity to other regions.

Cmdlets supporting AWS Direct Connect have a 'DC' prefix on the noun. The following command will list all of the supported cmdlets for the service (once the module has been imported):

PS C:\> Get-Command -Noun DC* -Module AWSPowerShell
                

For more information, see the AWS Direct Connect User Guide and the API Reference.

AWS Data Pipeline

AWS Data Pipeline is a web service that you can use to automate the movement and transformation of data. With AWS Data Pipeline, you can define data-driven workflows, so that tasks can be dependent on the successful completion of previous tasks. For example, you can use AWS Data Pipeline to archive your web server's logs to Amazon Simple Storage Service (Amazon S3) each day and then run a weekly Amazon Elastic MapReduce (Amazon EMR) job flow over those logs to generate traffic reports.

Cmdlets supporting AWS Data Pipeline have a 'DP' prefix on the noun. The following command will list all of the supported cmdlets for the service (once the module has been imported):

PS C:\> Get-Command -Noun DP* -Module AWSPowerShell
                

For more information, see What is AWS Data Pipeline? and the API Reference.

Amazon Elastic Block Store (EBS) Snapshot Copy

EBS Snapshot Copy enables you to copy your EBS snapshots across AWS regions, thus making it easier for you to leverage multiple AWS regions and accelerate your geographical expansion, data center migration and disaster recovery.

To copy snapshots, use the new Copy-EC2Snapshot cmdlet. This example shows how to copy a snapshot from California (us-west-1) to Oregon (us-west-2):

PS C:\> Copy-EC2Snapshot -SourceRegion us-west-1 -SourceSnapshotId ID12345 -Description "Copy of snapshot ID12345" -Region us-west-2
                

Updated install location

With this release, the install location of the AWS Tools for Windows PowerShell module has been changed so that environments using Windows PowerShell version 3 can take advantage of auto-loading:

  • The module and supporting files are now installed to an 'AWSPowerShell' subfolder beneath 'AWS Tools\PowerShell'. Files from the previous version that exist in the 'AWS Tools\PowerShell' folder are automatically removed by the installer.
  • The PSModulePath for Windows PowerShell (all versions) is also updated in this release, to contain the parent folder of the module ('AWS Tools\PowerShell').
  • For systems with Windows PowerShell version 2, the Start Menu shortcut 'Amazon Web Services\Windows PowerShell for AWS' is updated to import the module from the new location and then run Initialize-AWSDefaults.
  • For systems with Windows PowerShell version 3, the Start Menu shortcut 'Amazon Web Services\Windows PowerShell for AWS' is updated to remove the Import-Module command, leaving just Initialize-AWSDefaults.
  • If you have edited your PowerShell profile to perform an Import-Module of the AWSPowerShell.psd1 file, you will need to update it to point to the file's new location (or, if using PowerShell version 3, remove the Import-Module statement as it is no longer needed).

As a result of these changes, the AWS Tools for Windows PowerShell module will now be listed as an available module when executing Get-Module -ListAvailable. In addition, for users of Windows PowerShell version 3, the execution of any cmdlet exported by the module will automatically load the module in the current PowerShell shell without needing to use Import-Module first. This allows interactive use of the cmdlets on systems with an execution policy that disallows script execution.

Clear-AWSDefaults

The Clear-AWSDefaults cmdlet has been extended to also remove any default region setting, in addition to credentials.

Known Issues

Issue Description
Installation Requires Administrator Privileges The default install location is %PROGRAMFILES%\AWS Tools\PowerShell, which on most computers is "c:\program files". In order to install files to the default location, the MSI must be run by an Administrator.

Supported Services and Versions

This release of the AWS Tools for Windows PowerShell contains cndlets supporting the following Amazon Web Services:

Service API Version
Amazon CloudFront 2012-09-05
Amazon CloudSearch 2011-02-01
Amazon CloudWatch 2010-08-01
Amazon Elastic Compute Cloud 2012-12-01
Amazon Elastic MapReduce 2009-03-31
Amazon ElastiCache 2012-03-09
Amazon Relational Database Service 2012-09-17
Aamazon Route 53 2012-02-29
Amazon Simple Email Service 2010-12-01
Amazon Simple Notification Service 2010-03-31
Amazon Simple Queue Service 2012-11-05
Amazon Simple Storage Service 2006-03-01
Auto Scaling 2011-01-01
AWS CloudFormation 2010-05-15
AWS Data Pipeline 2012-10-29
AWS Direct Connect 2012-10-25
AWS Elastic Beanstalk 2010-12-01
AWS Identity and Access Management 2010-05-08
AWS Import/Export 2010-06-01
AWS Security Token Service 2011-06-15
AWS Storage Gateway 2012-06-30
Elastic Load Balancing 2012-06-01
©2014, Amazon Web Services, Inc. or its affiliates. All rights reserved.