当前位置:网站首页 > 更多 > 玩电脑 > 正文

[玩转系统] PowerShell 7 模块兼容性

作者:精品下载站 日期:2024-12-14 03:00:28 浏览:14 分类:玩电脑

PowerShell 7 模块兼容性


本文包含 Microsoft 发布的 PowerShell 模块的部分列表。

PowerShell 团队正在与创建 PowerShell 模块的各个功能团队合作,帮助他们生成可在 PowerShell 7 中运行的模块。这些模块不属于 PowerShell 团队所有。

已知以下模块支持 PowerShell 7。

Azure PowerShell

Az PowerShell 模块是一组用于直接从 PowerShell 管理 Azure 资源的 cmdlet。 PowerShell 7.0.6 LTS 或更高版本是建议在所有平台上与 Azure Az PowerShell 模块结合使用的 PowerShell 版本。

有关详细信息,请参阅 Azure Az PowerShell 模块简介。

MSGraph PowerShell SDK

Microsoft Graph SDK 旨在简化构建访问 Microsoft Graph 的高质量、高效且具有弹性的应用程序。 PowerShell 7 及更高版本是建议与 Microsoft Graph PowerShell SDK 一起使用的 PowerShell 版本。

有关详细信息,请参阅安装 Microsoft Graph PowerShell SDK。

Windows管理模块

Windows 管理模块提供对各种 Windows 功能和服务的管理和支持。这些模块中的大多数已更新为可以在本机上与 PowerShell 7 配合使用,或经过测试与 PowerShell 7 兼容。

这些模块的安装方式不同,具体取决于 Windows 版本以及该版本的模块打包方式。

有关安装和兼容性的更多信息,请参阅 Windows 文档中的 PowerShell 7 模块兼容性。

交换在线管理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:此模块包含支持最新 SQL 功能的新 cmdlet,包括 SQLPS 中 cmdlet 的更新版本。
  • SQLPS:SQLPS 是 SQL 代理使用 PowerShell 子系统在代理作业步骤中运行代理作业的模块。

SqlServer 模块需要 PowerShell 版本 5.0 或更高版本。

有关详细信息,请参阅安装 SQL Server PowerShell 模块。

查找其他模块的状态

您可以使用 PowerShell 模块浏览器查找完整的模块列表。使用模块浏览器,您可以找到其他 PowerShell 模块的文档,以确定其 PowerShell 版本要求。

您需要 登录账户 后才能发表评论

取消回复欢迎 发表评论:

关灯