Get a true taste of Nova Scotia, June 29 - July 6, 2017! Get your tickets to the 2017 Royal Nova Scotia International Tattoo! Great seats are still available! Pipes, drums, bands, gymnasts, dancers, acrobats, choirs, military traditions, modern music, trampoline routines... it's all here!
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. 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 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.
Once amazon-ssm-agent is running, then you can issue commands to your instances. Hereâs the basics on how to do it: In AWS Console â> EC2 â> Commands. Then select the type of Command you wish to run, for example a simple Shell Script: You can then choose to send the full output of your commands to an S3 bucket: Once the command is run you can view the output by clicking âView resultâ: The AWS Run Command is extremely powerful for one-off commands to be run without the overhead and delay of a configuration management tool.