Directories
¶
| Path | Synopsis |
|---|---|
|
bindings
|
|
|
cim/cimv2
Package cimv2 binds the root\cimv2 CIM classes.
|
Package cimv2 binds the root\cimv2 CIM classes. |
|
cim/dmmap
Package dmmap binds the root\cimv2\mdm\dmmap CIM classes.
|
Package dmmap binds the root\cimv2\mdm\dmmap CIM classes. |
|
cim/hgs
Package hgs binds the root\Microsoft\Windows\Hgs CIM classes.
|
Package hgs binds the root\Microsoft\Windows\Hgs CIM classes. |
|
cim/securitycenter2
Package securitycenter2 binds the root\SecurityCenter2 CIM classes.
|
Package securitycenter2 binds the root\SecurityCenter2 CIM classes. |
|
cim/standardcimv2
Package standardcimv2 binds the root\StandardCimv2 CIM classes.
|
Package standardcimv2 binds the root\StandardCimv2 CIM classes. |
|
cim/virtualizationv2
Package virtualizationv2 binds the root\virtualization\v2 CIM classes.
|
Package virtualizationv2 binds the root\virtualization\v2 CIM classes. |
|
cmd
|
|
|
capture
command
Command capture introspects the live CIM repository and writes a deterministic schema snapshot (metadata/cim/<namespace>.json).
|
Command capture introspects the live CIM repository and writes a deterministic schema snapshot (metadata/cim/<namespace>.json). |
|
generate
command
Command generate turns committed CIM schema snapshots (metadata/cim/*.json) into typed Go bindings under bindings/cim/<namespace>: one struct per class plus typed query helpers, row decoders, enumeration types, and method wrappers.
|
Command generate turns committed CIM schema snapshots (metadata/cim/*.json) into typed Go bindings under bindings/cim/<namespace>: one struct per class plus typed query helpers, row decoders, enumeration types, and method wrappers. |
|
examples
|
|
|
associators
command
Command associators walks WMI association chains — the ASSOCIATORS OF / REFERENCES OF surface: each fixed logical disk → its partition → the physical drive it lives on.
|
Command associators walks WMI association chains — the ASSOCIATORS OF / REFERENCES OF surface: each fixed logical disk → its partition → the physical drive it lives on. |
|
events
command
Command events subscribes to process-creation events for 30 seconds and prints each new process as it starts — the ExecNotificationQuery surface.
|
Command events subscribes to process-creation events for 30 seconds and prints each new process as it starts — the ExecNotificationQuery surface. |
|
instances
command
Command instances demonstrates the instance CRUD surface — create, read (generated key lookup + read-by-path), update, delete — using Win32_Environment, a harmless user-scoped writable class.
|
Command instances demonstrates the instance CRUD surface — create, read (generated key lookup + read-by-path), update, delete — using Win32_Environment, a harmless user-scoped writable class. |
|
inventory
command
Command inventory prints host inventory through typed WMI/CIM queries.
|
Command inventory prints host inventory through typed WMI/CIM queries. |
|
methods
command
Command methods demonstrates typed CIM method invocation: an instance method on this very process (GetOwner via its __PATH), and a static method with an embedded-object parameter (Create with a hidden-window Win32_ProcessStartup).
|
Command methods demonstrates typed CIM method invocation: an instance method on this very process (GetOwner via its __PATH), and a static method with an embedded-object parameter (Create with a hidden-window Win32_ProcessStartup). |
|
internal
|
|
|
cimschema
Package cimschema is the committed CIM schema snapshot format — the winmd-equivalent for the WMI bindings.
|
Package cimschema is the committed CIM schema snapshot format — the winmd-equivalent for the WMI bindings. |
|
runtime
|
|
Click to show internal directories.
Click to hide internal directories.