

第 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)

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

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

`AWS.Tools` 已預先安裝在 上 AWS CloudShell ，如 [AWS CloudShell 使用者指南](https://docs.aws.amazon.com/cloudshell/latest/userguide/)中的[預先安裝軟體](https://docs.aws.amazon.com/cloudshell/latest/userguide/vm-specs.html#pre-installed-software)中所述。由於主控台登入資料會自動傳遞給 CloudShell，具有開啟 CloudShell 許可的使用者可以立即執行 Tools for PowerShell cmdlet，而無需額外安裝或設定。

若要在 CloudShell AWS Tools for PowerShell 上使用 ，請執行類似下列的步驟：

1. 開啟 [CloudShell 主控台](https://console.aws.amazon.com/cloudshell/home)。

1. 執行 `pwsh`。

1. 執行您需要的任何 `AWS.Tools` PowerShell 命令，例如 `Get-S3Bucket`。