我正在 azure 中创建一个 Windows 虚拟机,并想执行一个 Powershell 脚本来执行以下任务:
我的问题是,在步骤 3 的等待时间内,如何使用 Powershell 和 CIM 类/WMI 检查任务序列是否完成?