Since I will be sitting my AWS Associate Exam soon I decided it is best to get hands-on practice. But instead of using the AWS Management Console all the time I wanted to get my head around using the command line interface or the AWS CLI. When I browsed through the AWS FAQs I came across the fact that you could remote into your AWS infrastructure using well, PowerShell. The marriage between the two as per documents is seamless.
First to find out the version of my PowerShell, and to find that out just type in the following:
$PSVersionTable
Then as the guide says proceeded to run the following command
Install-Package -Name AWSPowerShell
Now since this being version 5 and above (5.1) the PowerShell is intelligent enough to contact the repository and download and install the requisite module. Also, this has to be run as an Administrator as technically you are installing a new component.
After the installation is finished to check if it has installed the module I ran the command
Get-Module -ListAvailable, this command lists all the modules installed currently in your version of the PowerShell.

In the next post, we will attempt to connect to the AWS using PowerShell.
First to find out the version of my PowerShell, and to find that out just type in the following:
$PSVersionTable
Then as the guide says proceeded to run the following command
Install-Package -Name AWSPowerShell
Now since this being version 5 and above (5.1) the PowerShell is intelligent enough to contact the repository and download and install the requisite module. Also, this has to be run as an Administrator as technically you are installing a new component.
After the installation is finished to check if it has installed the module I ran the command
Get-Module -ListAvailable, this command lists all the modules installed currently in your version of the PowerShell.
In the next post, we will attempt to connect to the AWS using PowerShell.
No comments:
Post a Comment