@@ -41,13 +41,13 @@ dsc resource list
4141DSC outputs a table showing the available resources and summary information about each resource.
4242
4343``` Output
44- Type Kind Version Capabilities RequireAdapter Description
44+ Type Kind Version Capabilities RequireAdapter Description
4545------------------------------------------------------------------------------------------------------------------------------------------------------------------------
4646Microsoft.DSC.Debug/Echo Resource 1.0.0 gs--t---
4747Microsoft.DSC.Transitional/RunCommandOnSet Resource 0.1.0 gs------ Takes a single-command line to execute on DSC set operation
48- Microsoft.DSC/Assertion Group 0.1.0 gs--t--- `test` will be invoked for all resources in the supplied configuration.
48+ Microsoft.DSC/Assertion Group 0.1.0 gs--t--- `test` will be invoked for all resources in the supplied configuration.
4949Microsoft.DSC/Group Group 0.1.0 gs--t--- All resources in the supplied configuration is treated as a group.
50- Microsoft.DSC/Include Importer 0.1.0 gs--t--- Allows including a configuration file with optional parameter file.
50+ Microsoft.DSC/Include Importer 0.1.0 gs--t--- Allows including a configuration file with optional parameter file.
5151Microsoft.DSC/PowerShell Adapter 0.1.0 gs--t-e- Resource adapter to classic DSC Powershell resources.
5252Microsoft.Windows/RebootPending Resource 0.1.0 g------- Returns info about pending reboot.
5353Microsoft.Windows/Registry Resource 0.1.0 gs-w-d-- Manage Windows Registry keys and values
@@ -59,7 +59,7 @@ Microsoft/Process Resource 0.1.0 gs--t-e-
5959
6060Together, the columns describe each resource:
6161
62- - The ** Type** column defines the fully qualified type name for a resource. This identifies the
62+ - The ** Type** column defines the fully qualified type name for a resource. This name identifies the
6363 resource on a system and in a configuration document.
6464- The ** Kind** column indicates how you can use the resource.
6565 - ` Adapter ` indicates that the resource is an adapter resource and enables you to configure
@@ -107,17 +107,15 @@ Count Name
107107 961 Microsoft.Windows/WMI
108108```
109109
110- The first command saves the output of ` dsc resource list ` to the ` $resources ` variable as an array
111- of PowerShell objects. When you first ran the ` dsc resource list ` command, the output in the
112- terminal was a table view. By default, when DSC detects that its output is being redirected to a
113- file, variable, or another command in the pipeline, it emits JSON representing the output.
114- Converting the JSON into a PowerShell object with the ` ConvertFrom-Json ` cmdlet enables you to
115- treat the output like any other PowerShell object.
110+ The output of ` dsc resource list ` is saved to the ` $resources ` variable as an array of PowerShell
111+ objects. When you first ran the ` dsc resource list ` command, the output in the terminal was a table
112+ view. By default, when DSC detects output redirection, it formats the output as JSON. Converting the
113+ JSON into a PowerShell object with the ` ConvertFrom-Json ` cmdlet enables you to treat the output
114+ like any other PowerShell object.
116115
117- The second command uses the ` Group-Object ` cmdlet to summarize the available adapted resources,
118- grouped by the adapter that they require. The specific count for adapted resources depends on the
119- machine you're using and whether you've installed any PowerShell modules that export any PSDSC
120- resources.
116+ The ` Group-Object ` cmdlet summarizes the available adapted resources, grouped by the adapter that
117+ they require. The specific count for adapted resources depends on the machine you're using and the
118+ installed PowerShell modules that export any PSDSC resources.
121119
122120Run the following command to display only the resources available with the
123121` Microsoft.Windows/WindowsPowerShell ` adapter.
@@ -213,7 +211,7 @@ For this example:
213211 to specify it.
214212- The ` valueName ` property identifies which registry value to manage for the registry key.
215213- The ` _exist ` canonical property indicates whether the registry value should exist. In this
216- example, it's set to ` true ` , indicating the instance should exist.
214+ example, the value is ` true ` , which indicates that the instance should exist.
217215
218216Run the following command to get the current state of the registry key:
219217
0 commit comments