Skip to content

Commit db89991

Browse files
michaeltlombardisdwheeler
authored andcommitted
(AB-568561) [switch] parameter in Utility
1 parent a715a77 commit db89991

File tree

7 files changed

+22
-22
lines changed

7 files changed

+22
-22
lines changed

reference/5.1/Microsoft.PowerShell.Utility/Show-Command.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ all installed modules. To find the commands in a module, select the module from
3535
drop-down list. To select a command, click the command name.
3636

3737
To use the command window, select a command, either by using the Name or by clicking the command
38-
name in the **Commands** list. Each parameter set is displayed on a separate tab. Asterisks indicate
39-
the mandatory parameters. To enter values for a parameter, type the value in the text box or select
40-
the value from the drop-down box. To add a switch parameter, click to select the parameter check
41-
box.
38+
name in the **Commands** list. Each parameter set is displayed on a separate tab. Asterisks
39+
indicate the mandatory parameters. To enter values for a parameter, type the value in the text box
40+
or select the value from the drop-down box. To add a `[switch]` parameter, click to select the
41+
parameter check box.
4242

4343
When you're ready, you can click **Copy** to copy the command that you've created to the clipboard
4444
or click **Run** to run the command. You can also use the **PassThru** parameter to return the

reference/7.4/Microsoft.PowerShell.Utility/ConvertTo-Json.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ Get-Date | ConvertTo-Json; Get-Date | ConvertTo-Json -AsArray
8181
]
8282
```
8383

84-
This example shows the output from `ConvertTo-Json` cmdlet with and without the **AsArray** switch
85-
parameter. You can see the second portion of the output is wrapped in array brackets.
84+
This example shows the output from `ConvertTo-Json` cmdlet with and without the **AsArray**
85+
`[switch]` parameter. You can see the second portion of the output is wrapped in array brackets.
8686

8787
### Example 3
8888

reference/7.4/Microsoft.PowerShell.Utility/Show-Command.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ all installed modules. To find the commands in a module, select the module from
3737
drop-down list. To select a command, click the command name.
3838

3939
To use the command window, select a command, either by using the Name or by clicking the command
40-
name in the **Commands** list. Each parameter set is displayed on a separate tab. Asterisks indicate
41-
the mandatory parameters. To enter values for a parameter, type the value in the text box or select
42-
the value from the drop-down box. To add a switch parameter, click to select the parameter check
43-
box.
40+
name in the **Commands** list. Each parameter set is displayed on a separate tab. Asterisks
41+
indicate the mandatory parameters. To enter values for a parameter, type the value in the text box
42+
or select the value from the drop-down box. To add a `[switch]` parameter, click to select the
43+
parameter check box.
4444

4545
When you're ready, you can click **Copy** to copy the command that you've created to the clipboard
4646
or click **Run** to run the command. You can also use the **PassThru** parameter to return the

reference/7.5/Microsoft.PowerShell.Utility/ConvertTo-Json.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ Get-Date | ConvertTo-Json; Get-Date | ConvertTo-Json -AsArray
8383
]
8484
```
8585

86-
This example shows the output from `ConvertTo-Json` cmdlet with and without the **AsArray** switch
87-
parameter. You can see the second portion of the output is wrapped in array brackets.
86+
This example shows the output from `ConvertTo-Json` cmdlet with and without the **AsArray**
87+
`[switch]` parameter. You can see the second portion of the output is wrapped in array brackets.
8888

8989
### Example 3
9090

reference/7.5/Microsoft.PowerShell.Utility/Show-Command.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ all installed modules. To find the commands in a module, select the module from
3737
drop-down list. To select a command, click the command name.
3838

3939
To use the command window, select a command, either by using the Name or by clicking the command
40-
name in the **Commands** list. Each parameter set is displayed on a separate tab. Asterisks indicate
41-
the mandatory parameters. To enter values for a parameter, type the value in the text box or select
42-
the value from the drop-down box. To add a switch parameter, click to select the parameter check
43-
box.
40+
name in the **Commands** list. Each parameter set is displayed on a separate tab. Asterisks
41+
indicate the mandatory parameters. To enter values for a parameter, type the value in the text box
42+
or select the value from the drop-down box. To add a `[switch]` parameter, click to select the
43+
parameter check box.
4444

4545
When you're ready, you can click **Copy** to copy the command that you've created to the clipboard
4646
or click **Run** to run the command. You can also use the **PassThru** parameter to return the

reference/7.6/Microsoft.PowerShell.Utility/ConvertTo-Json.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ Get-Date | ConvertTo-Json; Get-Date | ConvertTo-Json -AsArray
8484
]
8585
```
8686

87-
This example shows the output from `ConvertTo-Json` cmdlet with and without the **AsArray** switch
88-
parameter. You can see the second portion of the output is wrapped in array brackets.
87+
This example shows the output from `ConvertTo-Json` cmdlet with and without the **AsArray**
88+
`[switch]` parameter. You can see the second portion of the output is wrapped in array brackets.
8989

9090
### Example 3
9191

reference/7.6/Microsoft.PowerShell.Utility/Show-Command.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ all installed modules. To find the commands in a module, select the module from
3737
drop-down list. To select a command, click the command name.
3838

3939
To use the command window, select a command, either by using the Name or by clicking the command
40-
name in the **Commands** list. Each parameter set is displayed on a separate tab. Asterisks indicate
41-
the mandatory parameters. To enter values for a parameter, type the value in the text box or select
42-
the value from the drop-down box. To add a switch parameter, click to select the parameter check
43-
box.
40+
name in the **Commands** list. Each parameter set is displayed on a separate tab. Asterisks
41+
indicate the mandatory parameters. To enter values for a parameter, type the value in the text box
42+
or select the value from the drop-down box. To add a `[switch]` parameter, click to select the
43+
parameter check box.
4444

4545
When you're ready, you can click **Copy** to copy the command that you've created to the clipboard
4646
or click **Run** to run the command. You can also use the **PassThru** parameter to return the

0 commit comments

Comments
 (0)