Tag: wmi
750 script(s) tagged “wmi”
Get Local Groups Report
Queries Win32_Group via WMI and reports Local Groups in a formatted table, with an optional CSV export.
Get Network Adapters Report (Python)
Uses wmic under the hood to report Network Adapters (Win32_NetworkAdapter) β no third-party packages required.
Export System Drivers to CSV (Batch)
Uses wmic to export System Drivers (Win32_SystemDriver) to a timestamped CSV file.
Backup Battery Info to JSON (C#)
Snapshots Battery Info (Win32_Battery) to a timestamped JSON file via System.Management and System.Text.Json.
Get Processes Report (JScript)
Queries Win32_Process via WMI and prints Processes to the console β JScript, VBScript's WSH sibling language.
Get System Drivers Report
Queries Win32_SystemDriver via WMI and reports System Drivers in a formatted table, with an optional CSV export.
Get Connected Monitors Report (C#)
Queries Win32_DesktopMonitor via WMI (System.Management) and prints Connected Monitors to the console.
Load Printers into Excel via WMI
Queries Win32_Printer via GetObject("winmgmts:") and dumps every Printers row straight onto the active worksheet, no Poβ¦
Export System Drivers to CSV via WMI (VBA)
Queries Win32_SystemDriver via WMI and writes every System Drivers row straight to a CSV file in Documents, using plainβ¦
Win32_LogicalDisk: Filtering Logical Disks (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_LogicalDisk, starting from a LIKE '%' wildcard you customize with a reaβ¦
Get Services Report to File (VBScript)
Queries Win32_Service via WMI and writes Services to a timestamped text file, handy for scheduled logon/logoff scripts.
Win32_Product: Installed MSI Products (WQL)
A minimal WQL reference query against Win32_Product β the raw SELECT statement plus a one-line runner, useful for learnβ¦