Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions reference/3.0/Microsoft.PowerShell.Core/Resume-Job.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,14 @@ This command resumes all suspended jobs on the Srv01 remote computer.
The command uses the Invoke-Command cmdlet to run a command on the Srv01 computer.
The remote command uses the **State** parameter of the Get-Job cmdlet to get all suspended jobs on the computer.
A pipeline operator (|) sends the suspended jobs to the **Resume-Job** cmdlet, which resumes them.
### Example 4: Wait for jobs to resume
### Example 5: Wait for jobs to resume
```
PS C:\> Resume-Job -Name WorkflowJob, InventoryWorkflow, WFTest* -Wait
```

This command uses the **Wait** parameter to direct Resume-Job to return only after all specified jobs are resumed.
The **Wait** parameter is especially useful in scripts that assume that jobs are resumed before the script continues.
### Example 5: Resume a Workflow that Suspends Itself
### Example 6: Resume a Workflow that Suspends Itself
```
This code sample shows the **Suspend-Workflow** activity in a workflow.
#SampleWorkflow
Expand Down
4 changes: 2 additions & 2 deletions reference/4.0/Microsoft.PowerShell.Core/Resume-Job.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@ The command uses the Invoke-Command cmdlet to run a command on the Srv01 compute
The remote command uses the **State** parameter of the Get-Job cmdlet to get all suspended jobs on the computer.
A pipeline operator (|) sends the suspended jobs to the **Resume-Job** cmdlet, which resumes them.

### Example 4: Wait for jobs to resume
### Example 5: Wait for jobs to resume
```
PS C:\> Resume-Job -Name WorkflowJob, InventoryWorkflow, WFTest* -Wait
```

This command uses the **Wait** parameter to direct Resume-Job to return only after all specified jobs are resumed.
The **Wait** parameter is especially useful in scripts that assume that jobs are resumed before the script continues.

### Example 5: Resume a Workflow that Suspends Itself
### Example 6: Resume a Workflow that Suspends Itself
```
This code sample shows the **Suspend-Workflow** activity in a workflow.
#SampleWorkflow
Expand Down
4 changes: 2 additions & 2 deletions reference/5.0/Microsoft.PowerShell.Core/Resume-Job.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ The command uses the Invoke-Command cmdlet to run a command on the Srv01 compute
The remote command uses the *State* parameter of the **Get-Job** cmdlet to get all suspended jobs on the computer.
A pipeline operator (|) sends the suspended jobs to the **Resume-Job** cmdlet, which resumes them.

### Example 4: Wait for jobs to resume
### Example 5: Wait for jobs to resume
```
PS C:\> Resume-Job -Name WorkflowJob, InventoryWorkflow, WFTest* -Wait
```

This command uses the *Wait* parameter to direct **Resume-Job** to return only after all specified jobs are resumed.
The *Wait* parameter is especially useful in scripts that assume that jobs are resumed before the script continues.

### Example 5: Resume a workflow that suspends itself
### Example 6: Resume a workflow that suspends itself
```
This code sample shows the **Suspend-Workflow** activity in a workflow.
#SampleWorkflow
Expand Down
4 changes: 2 additions & 2 deletions reference/5.1/Microsoft.PowerShell.Core/Resume-Job.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ The command uses the Invoke-Command cmdlet to run a command on the Srv01 compute
The remote command uses the *State* parameter of the **Get-Job** cmdlet to get all suspended jobs on the computer.
A pipeline operator (|) sends the suspended jobs to the **Resume-Job** cmdlet, which resumes them.

### Example 4: Wait for jobs to resume
### Example 5: Wait for jobs to resume
```
PS C:\> Resume-Job -Name WorkflowJob, InventoryWorkflow, WFTest* -Wait
```

This command uses the *Wait* parameter to direct **Resume-Job** to return only after all specified jobs are resumed.
The *Wait* parameter is especially useful in scripts that assume that jobs are resumed before the script continues.

### Example 5: Resume a workflow that suspends itself
### Example 6: Resume a workflow that suspends itself
```
This code sample shows the **Suspend-Workflow** activity in a workflow.
#SampleWorkflow
Expand Down