Skip to content

Commit 0d9671a

Browse files
committed
Highlight set
1 parent 1276b40 commit 0d9671a

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

docs/reference/resources/Microsoft/DSC/Transitional/RunCommandOnSet/examples/run-a-simple-command.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ title: Run a simple command
1010
# Run a simple command
1111

1212
This example shows how you can use the `Microsoft.DSC.Transitional/RunCommandOnSet` resource to
13-
execute a simple command during the set operation.
13+
execute a simple command during the **Set** operation.
1414

1515
## Test whether the command would run
1616

@@ -44,7 +44,7 @@ inDesiredState: true
4444
differingProperties: []
4545
```
4646
47-
The `inDesiredState` field of the result object is set to `true`, indicating that the command would be executed during a set operation.
47+
The `inDesiredState` field of the result object is set to `true`, indicating that the command would be executed during a **Set** operation.
4848

4949
## Run the command
5050

docs/reference/resources/Microsoft/DSC/Transitional/RunCommandOnSet/examples/run-powershell-command.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ title: Run a PowerShell command
99

1010
# Run a PowerShell command
1111

12-
This example shows how you can use the `Microsoft.DSC.Transitional/RunCommandOnSet` resource to execute a PowerShell command during the set operation.
12+
This example shows how you can use the `Microsoft.DSC.Transitional/RunCommandOnSet` resource to execute a PowerShell command
13+
during the **Set** operation.
1314

1415
## Define the PowerShell command to run
1516

16-
The following snippet shows how you can define a PowerShell command to run during the DSC set operation:
17+
The following snippet shows how you can define a PowerShell command to run during the DSC **Set** operation:
1718

1819
```powershell
1920
$command = "Write-Output Hello | Out-File $env:TEMP\hello.txt"

docs/reference/resources/Microsoft/DSC/Transitional/RunCommandOnSet/index.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,19 @@ title: Microsoft.DSC.Transitional/RunCommandOnSet
99

1010
## Synopsis
1111

12-
Execute a command during DSC set operations.
12+
Execute a command during DSC **Set** operation.
13+
14+
> [!IMPORTANT]
15+
> The `runcommandonset` command and `Microsoft.DSC.Transitional/RunCommandOnSet` resource
16+
> is intended as a temporary transitional resource while migrating DSCv3 resources for
17+
> your needs.
1318
1419
## Metadata
1520

1621
```yaml
1722
Version : 0.1.0
1823
Kind : resource
19-
Tags : [transitional, windows, linux, macos]
24+
Tags : [Transitional, Windows, Linux, MacOS]
2025
Author : Microsoft
2126
```
2227
@@ -36,9 +41,9 @@ resources:
3641
3742
## Description
3843
39-
The `Microsoft.DSC.Transitional/RunCommandOnSet` resource enables you to run a specified executable command during the DSC
40-
set operation. This is useful for commands that need to run as part of your configuration, but haven't fully transitioned to
41-
a DSC resource.
44+
The `Microsoft.DSC.Transitional/RunCommandOnSet` resource enables you to run a specified executable command
45+
during the DSC **Set** operation. This is useful for commands that need to run as part of your configuration,
46+
but haven't fully transitioned to a DSC resource.
4247

4348
The resource allows you to:
4449

@@ -94,7 +99,7 @@ IsWriteOnly : false
9499

95100
</details>
96101

97-
Defines the executable program or command to run during the DSC Set operation.
102+
Defines the executable program or command to run during the DSC **Set** operation.
98103
This can be any valid executable file or command accessible from the system PATH.
99104

100105
### arguments

0 commit comments

Comments
 (0)