PowerShell 7 模組相容性

本文包含 Microsoft 所發布之 PowerShell 模組的部分清單。

PowerShell 小組正與建立 PowerShell 模組的各種功能小組合作,以協助他們產生可在 PowerShell 7 中運作的模組。 這些模組並非由PowerShell小組所擁有。

已知下列模組支援PowerShell 7。

Azure PowerShell

Az PowerShell 模組是一組 Cmdlet,可直接從 PowerShell 管理 Azure 資源。 PowerShell 7.0.6 LTS 或更高版本是建議的 PowerShell 版本,可用於所有平臺上的 Azure Az PowerShell 模組。

如需詳細資訊,請參閱 Azure Az PowerShell 模組簡介。

MSGraph PowerShell SDK

Microsoft Graph SDK 的設計目的是簡化建置可存取 Microsoft Graph 的高品質、有效率且可復原的應用程式。 PowerShell 7 和更新版本是建議的 PowerShell 版本,可與 Microsoft Graph PowerShell SDK 搭配使用。

如需詳細資訊,請參閱 安裝 Microsoft Graph PowerShell SDK

Windows 管理模組

Windows 管理模組提供各種 Windows 功能和服務的管理和支援。 大部分模組都已更新為使用PowerShell 7原生運作,或測試與PowerShell 7的相容性。

這些模組會以不同的方式安裝,視 Windows 版本而定,以及該版本的模組封裝方式。

如需安裝和相容性的詳細資訊,請參閱 Windows 檔中的 PowerShell 7 模組相容性

Exchange Online Management 2.0

Exchange Online PowerShell V2 模組 (EXO V2) 會連線到 Microsoft 365 中的所有 Exchange 相關 PowerShell 環境:Exchange Online PowerShell、安全性與合規性 PowerShell,以及獨立 Exchange Online Protection (EOP) PowerShell。

PowerShell 7.0.3 或更新版本支援 EXO v2.0.4 或更新版本。

如需詳細資訊,請參閱 關於 Exchange Online PowerShell V2 模組

適用於 SQL Server 的 PowerShell 模組

有兩個 SQL Server PowerShell 模組:

  • SqlServer:此模組包含新的 Cmdlet 以支援最新的 SQL 功能,包括 SQLPS 中更新的 Cmdlet 版本。
  • SQLPS:SQL AGENT 是 SQL Agent 使用 PowerShell 子系統在代理程式作業步驟中執行代理程式作業的模組。

SqlServer 模組需要 PowerShell 5.0 版或更新版本。

如需詳細資訊,請參閱 安裝 SQL Server PowerShell 模組

尋找其他模組的狀態

您可以使用 PowerShell 模組瀏覽器找到完整的模組清單。 使用模組瀏覽器,您可以找到其他 PowerShell 模組的檔,以判斷其 PowerShell 版本需求。