How To Install And Configure PowerShell For AWS

How To Install And Configure PowerShell For AWS

How To Install And Configure PowerShell For AWS

Hello Everyone

Welcome to CloudAffaire and this is Debjeet.

In this blog post, we will discuss how to install and configure PowerShell for AWS cloud.

What Is PowerShell?

PowerShell is a cross-platform task automation and configuration management framework, consisting of a command-line shell and scripting language.

What is AWS?

AWS or Amazon Web Services is the leading cloud service provider in the market with 35% market share.

Prerequisites:

  • One Windows system with PowerShell version 5.0 or higher.
  • One IAM user having admin access to AWS with programmatic access.

How To Install And Configure PowerShell For AWS:

Step 1: Open PowerShell as administrator and run the below command to install PowerShell

Step 2: You can verify if the PowerShell module for AWS is installed using the below command.

Step 3: Once the PowerShell module is installed for AWS, you can list all the cmdlets using the below command.

Step 4: Set your AWS credential details using the below command.

You can refer below blog posts to create an IAM user and get the Secret Key and Access Key.

https://cloudaffaire.com/iam-users/

Step 5: Check if AWS credential working.

Step 6: Execute your 1st PowerShell command for AWS.

Hope you have enjoyed this blog post. There are different ways to install PowerShell for AWS. Please refer to the below documentation for details

https://docs.aws.amazon.com/powershell/latest/userguide/pstools-getting-set-up.html

https://docs.aws.amazon.com/powershell/latest/reference/

 

 

Leave a Reply

Close Menu