Release: AWS Tools for Windows PowerShell 1.0.0

Release Notes>PowerShell>Release: AWS Tools for Windows PowerShell 1.0.0
The AWS Tools for Windows PowerShell lets developers and administrators manage their AWS services from the Windows PowerShell scripting environment. Over 550 cmdlets can be used to make quick AWS service calls from the command line or to create rich scripts that automate AWS service management. Now you can manage your AWS resources with the same Windows PowerShell tools you use to manage your Windows environment.


Submitted By: Pavel@AWS
Created On: December 6, 2012 12:52 AM GMT
Last Updated: December 6, 2012 1:14 AM GMT

See for documentation and other getting started material on AWS Tools for Windows PowerShell.


Download the latest AWS Tools for Windows


Easy command-line access to AWS

The AWS Tools for Windows PowerShell lets you perform many of the same actions available in the AWS SDK for .NET. You can use it from the command line for quick tasks, like controlling your Amazon EC2 instances, listing Amazon EC2 AMIs or uploading files to Amazon S3:

PS C:\> Start-EC2Instances -InstanceId i-10a64379
PS C:\> Get-EC2Image -Owner self
PS C:\> Write-S3Object -BucketName myBucket -Key myFileKey -File C:\MyFile.txt

Uploading to and downloading from Amazon S3 make use of multi-part transfers automatically. You can also transmit entire folder hierarchies:

PS C:\> Read-S3Object -BucketName myBucket -KeyPrefix Key/To/MyFiles -Folder C:\PutFilesHere

Automate AWS service management using script composition

The Windows PowerShell scripting language lets you compose scripts to automate your AWS service management. The following example loops through a log directory on an Amazon EC2 instance, finds files older than one week, and then archives any non-empty ones to Amazon S3 before deleting the old log file from disk.

foreach ($i in Get-ChildItem C:\Logs)
    if ($i.CreationTime -lt ($(Get-Date).AddDays(-7)))
        if ($i.Length -gt 0)
            Write-S3Object -BucketName mylogbucket -Key Logs/$i -File $i.FullName
        Remove-Item $i.FullName

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-10-01
Amazon Elastic MapReduce 2009-03-31
Amazon ElastiCache 2012-03-09
Amazon Relational Database Service 2012-09-17
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 Elastic Beanstalk 2010-12-01
AWS Identity and Access Management 2010-05-08
AWS Import/Export 2010-06-01
AWS Route 53 2012-02-29
AWS Security Token Service 2011-06-15
AWS Storage Gateway 2012-06-30
Elastic Load Balancing 2012-06-01
©2017, Amazon Web Services, Inc. or its affiliates. All rights reserved.