

第 5 版 (V5) AWS Tools for PowerShell 已發行！

如需有關中斷變更和遷移應用程式的資訊，請參閱[遷移主題](https://docs.aws.amazon.com/powershell/v5/userguide/migrating-v5.html)。

 [https://docs.aws.amazon.com/powershell/v5/userguide/migrating-v5.html](https://docs.aws.amazon.com/powershell/v5/userguide/migrating-v5.html)

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 在 Windows AWS Tools for PowerShell 上安裝
<a name="pstools-getting-set-up-windows"></a>

如需預先安裝在 上的 Tools for PowerShell 的相關資訊 AWS CloudShell，請參閱 [在 CloudShell 上安裝](pstools-getting-set-up-cloudshell.md)。

Windows 型電腦可以執行任何 AWS Tools for PowerShell 套件選項：
+ [**`AWS.Tools`**](ps-installing-awstools.md) - 的模組化版本 AWS Tools for PowerShell。每個 AWS 服務都由其個別的小型模組支援，具有共用支援模組 `AWS.Tools.Common`和 `AWS.Tools.Installer`。
+ [**AWSPowerShell.NetCore**](ps-installing-awspowershellnetcore.md) - 的單一大型模組版本 AWS Tools for PowerShell。此單一大型模組支援所有 AWS 服務。
**注意**  
請注意，單一模組可能太大，無法與 [AWS Lambda](https://aws.amazon.com/lambda/) 功能一起使用。請改用上面的模組化版本。
+ [**AWSPowerShell**](ps-installing-awswindowspowershell.md) - 舊版、Windows 特定、單一、大型模組版本 AWS Tools for PowerShell。此單一大型模組支援所有 AWS 服務。

您選擇的套件取決於您執行的 Windows 版本和版本。

**注意**  
預設 AWS Tools for PowerShell 會在所有 Windows 型 Amazon Machine Image (AMIs) 上安裝 。已安裝的選項取決於 AMI。許多 AMIs 都有 AWSPowerShell 模組，但有些模組可能有不同的選項。例如，適用於 Windows Server 2025 的 Amazon EC2 AMIs 使用模組化`AWS.Tools`選項。

設定 AWS Tools for PowerShell 涉及下列高階任務，在後續主題中詳細說明。

1. 安裝適合您環境的 AWS Tools for PowerShell 套件選項。

1. 執行 `Get-ExecutionPolicy` Cmdlet 來驗證指令碼執行已啟用。

1. 將 AWS Tools for PowerShell 模組匯入 PowerShell 工作階段。

## 先決條件
<a name="prerequisites"></a>

若要從 Microsoft 取得更新版本的 PowerShell (包括 PowerShell Core)，請前往 Microsoft 網站的[安裝各種版本的 PowerShell](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell) 進行下載。

**Topics**
+ [先決條件](#prerequisites)
+ [安裝 `AWS.Tools`（建議）](ps-installing-awstools.md)
+ [安裝 AWSPowerShell.NetCore](ps-installing-awspowershellnetcore.md)
+ [安裝 AWSPowerShell （舊版）](ps-installing-awswindowspowershell.md)