在 Windows PowerShell 中创建和管理后台作业和计划的作业

中级
管理员
Azure
Microsoft Entra ID
Azure Cloud Shell
Azure PowerShell
Azure 虚拟机
Microsoft 365

此学习路径介绍了 Windows PowerShell 的作业功能。 作业是 Windows PowerShell 的一个扩展点,有几种类型的作业。 每种类型的工作方式略有不同,并且具有不同的功能。

先决条件

  • 熟悉 Windows 网络技术和实施
  • 熟悉 Windows Server 管理、维护和故障排除
  • 熟悉 Windows PowerShell 及其执行特定任务的命令
  • 熟悉用于与 Active Directory、网络配置、服务器管理和 Windows 10 设备管理相关的系统管理任务的 PowerShell cmdlet
  • 熟悉 Windows PowerShell 管道、PowerShell 提供程序和 PowerShell 驱动器
  • 熟悉 CIM 和 WMI 技术
  • 熟悉如何使用 Windows PowerShell 中的变量、数组、哈希表和脚本结构
  • 熟悉如何使用 Windows PowerShell 管理远程计算机
  • 熟悉如何使用 Windows PowerShell 管理 Azure 资源和 Microsoft 365 服务

本学习路径中的模块

本模块介绍三种类型的作业:本地作业、Windows PowerShell 远程作业和通用信息模型 (CIM)/Windows Management Instrumentation (WMI) 作业。 这些作业类型构成了 Windows PowerShell 作业系统的基础。

本模块介绍如何使用计划的作业。 在 Windows PowerShell 中,计划的作业实质上是计划的任务。 它们遵循相同的操作、触发器和其他功能规则,并按设计运行 Windows PowerShell 脚本。