Skip to content

Commit 07b21b0

Browse files
matt9ucciSean Wheeler
authored andcommitted
Fix example numbers in Resume-Job.md (#1857)
Example 4 is duplicated.
1 parent b04197f commit 07b21b0

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

reference/3.0/Microsoft.PowerShell.Core/Resume-Job.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,14 @@ This command resumes all suspended jobs on the Srv01 remote computer.
103103
The command uses the Invoke-Command cmdlet to run a command on the Srv01 computer.
104104
The remote command uses the **State** parameter of the Get-Job cmdlet to get all suspended jobs on the computer.
105105
A pipeline operator (|) sends the suspended jobs to the **Resume-Job** cmdlet, which resumes them.
106-
### Example 4: Wait for jobs to resume
106+
### Example 5: Wait for jobs to resume
107107
```
108108
PS C:\> Resume-Job -Name WorkflowJob, InventoryWorkflow, WFTest* -Wait
109109
```
110110

111111
This command uses the **Wait** parameter to direct Resume-Job to return only after all specified jobs are resumed.
112112
The **Wait** parameter is especially useful in scripts that assume that jobs are resumed before the script continues.
113-
### Example 5: Resume a Workflow that Suspends Itself
113+
### Example 6: Resume a Workflow that Suspends Itself
114114
```
115115
This code sample shows the **Suspend-Workflow** activity in a workflow.
116116
#SampleWorkflow

reference/4.0/Microsoft.PowerShell.Core/Resume-Job.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,15 @@ The command uses the Invoke-Command cmdlet to run a command on the Srv01 compute
110110
The remote command uses the **State** parameter of the Get-Job cmdlet to get all suspended jobs on the computer.
111111
A pipeline operator (|) sends the suspended jobs to the **Resume-Job** cmdlet, which resumes them.
112112

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

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

121-
### Example 5: Resume a Workflow that Suspends Itself
121+
### Example 6: Resume a Workflow that Suspends Itself
122122
```
123123
This code sample shows the **Suspend-Workflow** activity in a workflow.
124124
#SampleWorkflow

reference/5.0/Microsoft.PowerShell.Core/Resume-Job.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,15 @@ The command uses the Invoke-Command cmdlet to run a command on the Srv01 compute
111111
The remote command uses the *State* parameter of the **Get-Job** cmdlet to get all suspended jobs on the computer.
112112
A pipeline operator (|) sends the suspended jobs to the **Resume-Job** cmdlet, which resumes them.
113113

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

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

122-
### Example 5: Resume a workflow that suspends itself
122+
### Example 6: Resume a workflow that suspends itself
123123
```
124124
This code sample shows the **Suspend-Workflow** activity in a workflow.
125125
#SampleWorkflow

reference/5.1/Microsoft.PowerShell.Core/Resume-Job.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,15 @@ The command uses the Invoke-Command cmdlet to run a command on the Srv01 compute
111111
The remote command uses the *State* parameter of the **Get-Job** cmdlet to get all suspended jobs on the computer.
112112
A pipeline operator (|) sends the suspended jobs to the **Resume-Job** cmdlet, which resumes them.
113113

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

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

122-
### Example 5: Resume a workflow that suspends itself
122+
### Example 6: Resume a workflow that suspends itself
123123
```
124124
This code sample shows the **Suspend-Workflow** activity in a workflow.
125125
#SampleWorkflow

0 commit comments

Comments
 (0)