File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ dsc resource list
15
15
``` powershell
16
16
dsc resource list --adapter Microsoft.DSC/PowerShell
17
17
dsc resource list --adapter Microsoft.Windows/PowerShell
18
+ dsc resource list --adapter Microsoft.Windows/WMI *computer*
18
19
```
19
20
20
21
- Find DSC resources
@@ -99,6 +100,10 @@ Winget example
99
100
100
101
### WMI Adapter
101
102
103
+ ``` powershell
104
+ dsc resource get -r root.cimv2/Win32_ComputerSystem
105
+ ```
106
+
102
107
### Include Resource
103
108
104
109
### Parameters
Original file line number Diff line number Diff line change
1
+ $schema : https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2024/04/config/document.json
2
+ resources :
3
+ - name : WMI
4
+ type : Microsoft.Windows/WMI
5
+ properties :
6
+ resources :
7
+ - name : computer system
8
+ type : root.cimv2/Win32_ComputerSystem
9
+ properties :
10
+ - name : network adapter
11
+ type : root.cimv2/Win32_NetworkAdapter
12
+ properties :
You can’t perform that action at this time.
0 commit comments