

的版本 5 (V5) Amazon Tools for PowerShell 已经发布！

有关重大更改和迁移应用程序的信息，请参阅[迁移主题](https://docs.amazonaws.cn/powershell/v5/userguide/migrating-v5.html)。

 [https://docs.amazonaws.cn/powershell/v5/userguide/migrating-v5.html](https://docs.amazonaws.cn/powershell/v5/userguide/migrating-v5.html)

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 已安装 Amazon Tools for PowerShell 在 Amazon CloudShell
<a name="pstools-getting-set-up-cloudshell"></a>

`AWS.Tools`已按照《[Amazon CloudShell 用户](https://docs.amazonaws.cn/cloudshell/latest/userguide/)指南》中[预安装的软件 Amazon CloudShell 中所述预安装](https://docs.amazonaws.cn/cloudshell/latest/userguide/vm-specs.html#pre-installed-software)在上。由于控制台凭据会自动传递给 CloudShell，因此具有打开权限的用户无需额外安装或配置 CloudShell 即可立即运行 PowerShell Cmdlet 工具。

要使用 Amazon Tools for PowerShell on CloudShell，请执行与以下类似的步骤：

1. 打开控制[CloudShell台](https://console.amazonaws.cn/cloudshell/home)。

1. 运行 `pwsh`。

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