Run Command
- Go to the AWS Management Console
- Find Systems Manager
- Select Systems Manager
![Run Command](/images/4-RunCommand/0001-runcommand.png)
- In the Systems Manager interface
- Select Run Command on the navigation bar
- Then select Run command
![Run Command](/images/4-RunCommand/0002-runcommand.png)
- In the Run a command interface
- Search AWS-RunPowerShellScript
- Select AWS-RunPowerShellScript
![Run Command](/images/4-RunCommand/0003-runcommand.png)
- Run command
net user
![Run Command](/images/4-RunCommand/0004-runcommand.png)
- In the Targets step
- Select Choose instances manually
- Select 2 Windows EC2 instances
![Run Command](/images/4-RunCommand/0005-runcommand.png)
- In Output options step
- Select Enable an S3 bucket
- Select Choose an S3 bucket name from the list
![Run Command](/images/4-RunCommand/0006-runcommand.png)
- Select Run
![Run Command](/images/4-RunCommand/0007-runcommand.png)
- Wait about 1 minute after the command is successful
![Run Command](/images/4-RunCommand/0008-runcommand.png)
- Select an instance to view command output
![Run Command](/images/4-RunCommand/0009-runcommand.png)
- See ouput command and Error
![Run Command](/images/4-RunCommand/00010-runcommand.png)
So we’re done with the lab.