My Profile Photo

${Graham Beer} = 'blog'

Infrastucture Engineer, PowerShell Developer, WinOps and Automation

Start and stop an EC2 instance with a PowerShell class

My PowerShell class (AwsInstance) requires the AWS Tools for Windows PowerShell. The AWS Tools documentation is very clear with good examples. The cmdlets themselves for controlling the state of an EC2 instance are good, but I wanted an all-in-one tool with some extra features. The AWS module uses PowerShell Core 6 and its very rich in its content.

4sysops article continues hereā€¦