

AWS Tools for PowerShell V4 已進入維護模式。

我們建議您遷移至 [AWS Tools for PowerShell V5](https://docs.aws.amazon.com/powershell/v5/userguide/)。如需如何遷移的其他詳細資訊和資訊，請參閱我們的[維護模式公告](https://aws.amazon.com/blogs/developer/aws-tools-for-powershell-v4-maintenance-mode-announcement/)。

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

# 文件歷史紀錄
<a name="history-pst"></a>

本主題說明 AWS Tools for PowerShell文件的重大變更。

我們也會定期更新文件以回應客戶的意見回饋。若要傳送有關主題的意見回饋，請使用位於每個頁面底部的「此頁面是否有幫助？」 旁邊的意見回饋按鈕。

如需 變更和更新的其他資訊 AWS Tools for PowerShell，請參閱[版本備註](https://aws.amazon.com/releasenotes/PowerShell)。如需獲得此文件更新的通知，您可以訂閱 [RSS 摘要](https://docs.aws.amazon.com/powershell/v4/userguide/toolsforpowershell.rss)。

| 變更 | 描述 | 日期 | 
| --- |--- |--- |
| [最新消息](whats-new.md) | 已宣布 V4 的End-of-support AWS Tools for PowerShell。 | 2025 年 9 月 17 日 | 
| [最新消息](whats-new.md) | 第 5 版 (V5) AWS Tools for PowerShell 已全面推出！如需詳細資訊，請參閱 [AWS Tools for PowerShell 使用者指南 (V5)](https://docs.aws.amazon.com/powershell/v5/userguide/)，特別是[遷移至 V5](https://docs.aws.amazon.com/powershell/v5/userguide/migrating-v5.html) 的主題。 | 2025 年 6 月 23 日 | 
| [最新消息](whats-new.md) | 已發行 的 V5 預覽內容 AWS Tools for PowerShell。 | 2025 年 6 月 13 日 | 
| [最新消息](whats-new.md) | 已發佈 第 5 版 （預覽版） 的[使用者指南](https://docs.aws.amazon.com/powershell/v5/userguide/) AWS Tools for PowerShell。 | 2025 年 5 月 28 日 | 
| [可觀測性](observability.md) | 宣布 GA 版本以獲得可觀測性 | 2025 年 2 月 10 日 | 
| [新功能](whats-new.md) | 新增有關完整性保護新預設行為的資訊。 | 2025 年 1 月 15 日 | 
| [最新消息](whats-new.md) | 新增 AWS Tools for PowerShell 第 5 版第一個預覽版本的相關資訊。 | 2024 年 11 月 18 日 | 
| [管道、輸出和反覆運算](pstools-pipelines.md) | 取代有關 $AWSHistory 的內容，已棄用。 | 2024 年 10 月 10 日 | 
| [可觀測性](observability.md) | 新增 中可觀測性的預覽資訊 AWS Tools for PowerShell，可收集遙測資料。 | 2024 年 9 月 13 日 | 
| [在 Windows AWS Tools for PowerShell 上安裝](pstools-getting-set-up-windows.md) | 新增在擷取內容之前解除封鎖 ZIP 檔案的相關資訊。 | 2024 年 8 月 5 日 | 
| [EC2-Classic 的相關資訊](#history-pst) | 已移除已淘汰的 EC2-Classic 相關資訊。 | 2024 年 8 月 1 日 | 
| [程式碼範例](#history-pst) | 包含含有 cmdlet 範例的章節。 | 2024 年 4 月 17 日 | 
| [其他安全性考量事項](additional-security-considerations.md) | 包含有關敏感資料潛在記錄的資訊。 | 2024 年 4 月 16 日 | 
| [使用 設定工具身分驗證 AWS](creds-idc.md) | 新增 中 SSO 支援的相關資訊 AWS Tools for PowerShell。 | 2024 年 3 月 15 日 | 
| [Tools for PowerShell cmdlet 參考](pstools-cmdlet-ref.md) | 已新增區段，其中包含 Tools for PowerShell cmdlet 參考資料的連結。 | 2023 年 11 月 17 日 | 
| [納入了更多 IAM 最佳實務更新](#history-pst) | 更新了指南以符合 IAM 最佳實務。如需更多詳細資訊，請參閱 [IAM 中的安全最佳實務](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html)。 | 2023 年 10 月 12 日 | 
| [在 Windows 上安裝](pstools-getting-set-up-windows.md) | 已移除有關使用已棄用 MSI 安裝 Windows PowerShell 工具的相關資訊。 | 2023 年 9 月 25 日 | 
| [IAM 最佳實務更新](#history-pst) | 更新了指南以符合 IAM 最佳實務。如需更多詳細資訊，請參閱 [IAM 中的安全最佳實務](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html)。 | 2023 年 9 月 8 日 | 
| [管道傳輸和 $AWSHistory](pstools-pipelines.md) | 已將 `IncludeSensitiveData` 參數新增至 `Set-AWSHistoryConfiguration` Cmdlet。 | 2023 年 3 月 9 日 | 
| 在 cmdlets 中使用用 ClientConfig 參數 | 新增有關 ClientConfig 參數支援的資訊。 | 2022 年 10 月 28 日 | 
| [使用 Windows PowerShell 啟動 Amazon EC2 執行個體](pstools-ec2-launch.md) | 新增有關淘汰 EC2-Classic 的注意事項。 | 2022 年 7 月 26 日 | 
| [AWS Tools for PowerShell 第 4 版](#history-pst) | 新增第 4 版的相關資訊，包括 [Windows](https://docs.aws.amazon.com/powershell/v4/userguide/pstools-getting-set-up-windows.html) 和 [Linux/macOS](https://docs.aws.amazon.com/powershell/v4/userguide/pstools-getting-set-up-linux-mac.html) 的安裝說明，以及說明與第 3 版之差異及介紹新功能的[遷移](https://docs.aws.amazon.com/powershell/v4/userguide/v4migration.html)主題。 | 2019 年 11 月 21 日 | 
| [AWS Tools for PowerShell 3.3.563](#history-pst) | 新增如何安裝及使用 `AWS.Tools.Common` 模組預覽版的相關資訊。這個新模組會將較舊的單體套件分成一個共用模組，每個 AWS 服務各一個模組。 | 2019 年 10 月 18 日 | 
| [AWS Tools for PowerShell 3.3.343.0](#history-pst) | 已將資訊新增至 [一節 AWS Tools for PowerShell](https://docs.aws.amazon.com/powershell/v4/userguide/pstools-using.html)，介紹適用於 PowerShell Core AWS Lambda 的 Tools for PowerShell 開發人員以建置 AWS Lambda 函數。 | 2018 年 9 月 11 日 | 
| [AWS Tools for Windows PowerShell 3.1.31.0](#history-pst) | 在[入門](https://docs.aws.amazon.com/powershell/v4/userguide/pstools-getting-started.html)章節中增加資訊，說明使用「安全性聲明標記語言」(SAML) 來支援設定使用者聯合身分的新 cmdlet。 | 2015 年 12 月 1 日 | 
| [AWS Tools for Windows PowerShell 2.3.19](#history-pst) | 在 [Cmdlet 探索和別名](https://docs.aws.amazon.com/powershell/v4/userguide/pstools-discovery-aliases.html)區段中新增了有關新 `Get-AWSCmdletName` Cmdlet 的資訊，可協助使用者更輕鬆地找到所需的 AWS Cmdlet。 | 2015 年 2 月 5 日 | 
| [AWS Tools for Windows PowerShell 1.1.1.0](#history-pst) | 來自 Cmdlet 的集合輸出一律會列舉到 PowerShell 管道。自動支援可分頁的服務呼叫。新的 $AWSHistory shell 變數會收集服務回應及選用的服務請求。AWSRegion 執行個體使用 Region 欄位 (而非 SystemName) 以利管道傳輸。Remove-S3Bucket 支援 -DeleteObjects 切換選項。修復 Set-AWSCredentials 的可用性問題。Initialize-AWSDefaults 會從其取得憑證和區域資料的位置報告。Stop-EC2Instance 接受 Amazon.EC2.Model.Reservation 執行個體做為輸入。泛型 List<T> 參數類型更換為陣列類型 (T[])。刪除或終止資源的 Cmdlet 會在刪除之前提示確認。Write-S3Object 支援將內嵌文字內容上傳至 Amazon S3。 | 2013 年 5 月 15 日 | 
| [AWS Tools for Windows PowerShell 1.0.1.0](#history-pst) | Tools for Windows PowerShell 模組的安裝位置已變更，因此使用 Windows PowerShell 第 3 版的環境可以利用自動載入。模組和支援檔案現在安裝到 `AWS ToolsPowerShell` 下方的 `AWSPowerShell` 子資料夾。安裝程式會自動移除在 `AWS ToolsPowerShell` 資料夾中，來自舊版的檔案。此版本中適用於 Windows PowerShell (所有版本) 的 `PSModulePath` 已更新為包含模組的上層資料夾 (`AWS ToolsPowerShell`)。針對採用 Windows PowerShell 第 2 版的系統，Start (開始) 選單捷徑已更新為從新位置匯入模組，然後執行 `Initialize-AWSDefaults`。針對採用 Windows PowerShell 第 3 版的系統，Start (開始) 選單捷徑已更新為移除 `Import-Module` 命令，只留下 `Initialize-AWSDefaults`。如果您曾編輯 PowerShell 描述檔來執行 `Import-Module` 檔案的 `AWSPowerShell.psd1`，您需要將其更新以指向檔案的新位置 (如果使用 PowerShell 版本 3，則請移除 `Import-Module` 陳述式，因為已不再需要它)。由於這些變更，現在執行 `Get-Module -ListAvailable` 時，Tools for Windows PowerShell 模組會列為可用模組。此外，對於 Windows PowerShell 版本 3 的使用者，執行由模組匯出的任何 cmdlet 都會在目前 PowerShell shell 中自動載入模組，不需要使用 `Import-Module`。這可在具有不允許指令碼執行之執行政策的系統上，啟用 cmdlet 互動用途。 | 2012 年 12 月 21 日 | 
| [AWS Tools for Windows PowerShell 1.0.0.0](#history-pst) | 初始版本 | 2012 年 12 月 6 日 | 