Run Command

  1. Go to the AWS Management Console
  • Find Systems Manager
  • Select Systems Manager

Run Command

  1. In the Systems Manager interface
  • Select Run Command on the navigation bar
  • Then select Run command

Run Command

  1. In the Run a command interface
  • Search AWS-RunPowerShellScript
  • Select AWS-RunPowerShellScript

Run Command

  1. Run command net user

Run Command

  1. In the Targets step
  • Select Choose instances manually
  • Select 2 Windows EC2 instances

Run Command

  1. In Output options step
  • Select Enable an S3 bucket
  • Select Choose an S3 bucket name from the list

Run Command

  1. Select Run

Run Command

  1. Wait about 1 minute after the command is successful

Run Command

  1. Select an instance to view command output

Run Command

  1. See ouput command and Error

Run Command

So we’re done with the lab.