Stop-Job cmdlet 停止正在进行的 PowerShell 后台作业。 可以使用此 cmdlet 根据作业的名称、ID、实例 ID 或状态或将作业对象传递给 Stop-Job来停止所有作业或停止所选作业。 可以使用 Stop-Job 来停止后台作业,例如使用 Start-Job cmdlet 或任何 cmdlet 的 AsJob 参数启动
Stop-Job cmdlet 停止正在进行的 Windows PowerShell 后台作业。可以使用此 cmdlet 停止所有作业,或者基于作业的名称、ID、实例 ID 或状态,或通过将作业对象传递到 Stop-Job 来停止选定的作业。 可以使用 Stop-Job 来停止通过使用 Start-Job 或Invoke-Command 的AsJob 参数启动的作业。停止后台作业时,Windows Power...
Stop-DPMJob cmdlet 停止在 System Center - Data Protection Manager (DPM) 中运行的作业。 示例 示例1:停止所有 DPM 作业 PowerShell 复制 PS C:\>$PGroup = Get-DPMProtectionGroup -DPMServerName "Contoso-DPMServer" PS C:\> $Jobs = Get-DPMJob -ProtectionGroup $PGroup -Status InProgress PS ...
Stop-SCJob Cmdlet 會停止一或多個 Virtual Machine Manager (VMM) 執行的工作,並傳回處於已停止狀態之每個作業的物件。 如果 VMM 作業目前未執行,則此 Cmdlet 沒有任何作用。
Stop-HpcJob cmdlet 取消一个或多个指定的作业。可以使用作业的 ID 或使用作业的 HpcJob 对象来指定作业。可以指定立即取消作业,而无需对任务取消使用宽限期,也无需运行节点发布任务。还可以指定作业取消后的状态应为“完成”而不是“已取消”,还可以指定一条错误消息来解释取消作业的原因。 取消作业时,如果作业...
When you realize that your job is over-running, use theStop-Jobcmdlet: Stop-Job -Id 14 You can then hide the evidence by usingRemove-Jobto delete the job. You can test the data in the stopped job withReceive-Job, if desired, before you delete the job....
The Stop-SCDWJob cmdlet stops a data warehouse job. Job modules that are currently running complete gracefully, and the rest of the job modules that have not run yet queue up.Parameters-ComputerName<String>Specifies the name of the computer on which the System Center Data Access service is ...
This example shows how to use the Stop-Job cmdlet to stop a job that is running on a remote computer. Because the job was started by using Invoke-Command to run a Start-Job command remotely, the job object is stored on the remote computer, and you must use another Invoke-Command comman...
TheStop-WssClientBmrMediaGenerationJobcmdlet stops a client full system restore media generation job. A full system restore recovers the operating system from a backup, and is also called bare metal recovery (BMR). Parameters <CommonParameters> ...
Stop-Job cmdlet 停止正在进行的 Windows PowerShell 后台作业。可以使用此 cmdlet 停止所有作业,或者基于作业的名称、ID、实例 ID 或状态,或通过将作业对象传递到 Stop-Job 来停止选定的作业。 可以使用 Stop-Job 来停止通过使用 Start-Job 或 Invoke-Command 的 AsJob 参数启动的作业。停止后台作业时,Windows Pow...