

的版本 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 用户](https://docs.aws.amazon.com/cloudshell/latest/userguide/)指南》中[预安装的软件 AWS CloudShell 中所述预安装](https://docs.aws.amazon.com/cloudshell/latest/userguide/vm-specs.html#pre-installed-software)在上。由于控制台凭据会自动传递给 CloudShell，因此具有打开权限的用户无需额外安装或配置 CloudShell 即可立即运行 PowerShell Cmdlet 工具。

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

1. 打开控制[CloudShell台](https://console.aws.amazon.com/cloudshell/home)。

1. 运行 `pwsh`。

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