- AWS Tools for PowerShell 6
- Ramesh Waghmare
- 247字
- 2021-07-15 17:09:21
Downloading and installing AWS Tools
The installation of the AWSPowerShell.NetCore module is pretty simple. The only thing I would like to highlight is for you to make use of the $PSHOME/Modules directory as a target for installation of the module. The module can be installed using the Install-Module cmdlet. Note that you need to start PowerShell using the administrator or root privilege.
Note that currently, you can only see the MSI installer on https://aws.amazon.com/powershell/. This installer is only for PowerShell on Windows. This module is called AWSPowerShell. At the time of writing this book, a new module for AWS Tools for PowerShell was called AWSPowerShell.NetCore, which was published on the PowerShell Gallery only and can be installed as follows:
PS C:\> Install-Package -Name AWSPowerShell.NetCore -Source https://www.powershellgallery.com/api/v2/ -ProviderName NuGet -ExcludeVersion -Destination $PSHOME/Modules
- On Windows:
- On Linux:

If you install the AWSPowerShell.NetCore module in the $PSHOME/Modules directory, you do not need to adjust the $env:PSModulePath environment variable. Every time you start PowerShell, AWSPowerShell.NetCore will be loaded. My recommendation would be using the $PSHOME/Modules path if you are new to PowerShell. If you install it in a different directory, then you can plan to update the default PowerShell profile so that the module gets loaded every time you start PowerShell.
You can check whether AWSPowerShell.NetCore is installed or not using the following:
- On Linux:
PS /root>Get-Module -ListAvailable

- On Windows:
PS C:\>Get-Module -ListAvailable
You might get the long list depending on the different modules that are installed on your Windows machine.
- 基于粒計算模型的圖像處理
- MATLAB應(yīng)用與實驗教程
- Python Network Programming Cookbook(Second Edition)
- Windows Presentation Foundation Development Cookbook
- Python數(shù)據(jù)可視化之Matplotlib與Pyecharts實戰(zhàn)
- 網(wǎng)絡(luò)爬蟲原理與實踐:基于C#語言
- 可解釋機器學(xué)習(xí):模型、方法與實踐
- C和C++游戲趣味編程
- 從零開始學(xué)Linux編程
- Android項目實戰(zhàn):手機安全衛(wèi)士開發(fā)案例解析
- Swift 4 Protocol-Oriented Programming(Third Edition)
- C++ Fundamentals
- Learning Nessus for Penetration Testing
- Python商務(wù)數(shù)據(jù)分析(微課版)
- Photoshop智能手機APP界面設(shè)計