-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #548 from SteveL-MSFT/demo
Update WMI adapter to perform query based on provided properties
- Loading branch information
Showing
5 changed files
with
137 additions
and
26 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
$schema: https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2024/04/config/document.json | ||
resources: | ||
- name: WMI | ||
type: Microsoft.Windows/WMI | ||
properties: | ||
resources: | ||
- name: computer system | ||
type: root.cimv2/Win32_ComputerSystem | ||
properties: | ||
name: | ||
domain: | ||
totalphysicalmemory: | ||
model: | ||
manufacturer: | ||
- name: operating system | ||
type: root.cimv2/Win32_OperatingSystem | ||
properties: | ||
caption: | ||
version: | ||
osarchitecture: | ||
oslanguage: | ||
- name: system enclosure | ||
type: root.cimv2/Win32_SystemEnclosure | ||
properties: | ||
manufacturer: | ||
model: | ||
serialnumber: | ||
- name: bios | ||
type: root.cimv2/Win32_BIOS | ||
properties: | ||
manufacturer: | ||
version: | ||
serialnumber: | ||
- name: network adapter | ||
type: root.cimv2/Win32_NetworkAdapter | ||
properties: | ||
name: | ||
macaddress: | ||
adaptertype: | ||
netconnectionid: | ||
serviceName: | ||
netconnectionstatus: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters