Tag: wmi

750 script(s) tagged “wmi”

🧬 WQL / PowerShell

Win32_CDROMDrive: Discovering Available Properties (Get-CimClass)

Uses Get-CimClass to list every real property and method Win32_CDROMDrive exposes on the current system, instead of gue…

🧬 WQL / PowerShell

Win32_PnPSignedDriver: Sorting Signed Drivers (WQL has no ORDER BY)

WQL has no ORDER BY clause — this shows the standard workaround of piping Get-CimInstance results through Sort-Object o…

🟣 C# / .NET 6+

Backup Physical Memory Modules to JSON (C#)

Snapshots Physical Memory Modules (Win32_PhysicalMemory) to a timestamped JSON file via System.Management and System.Te…

📄 JScript (WSH)

Get Time Zone Settings Report (JScript)

Queries Win32_TimeZone via WMI and prints Time Zone Settings to the console — JScript, VBScript's WSH sibling language.

🧬 WQL / PowerShell

Win32_QuickFixEngineering: Discovering Available Properties (Get-CimClass)

Uses Get-CimClass to list every real property and method Win32_QuickFixEngineering exposes on the current system, inste…

📊 VBA (Excel)

Load Keyboard Info into Excel via WMI

Queries Win32_Keyboard via GetObject("winmgmts:") and dumps every Keyboard Info row straight onto the active worksheet,…

🧬 WQL / PowerShell

Win32_Share: Filtering Network Shares (WQL WHERE)

Shows the WQL WHERE clause syntax against Win32_Share, starting from a LIKE '%' wildcard you customize with a real sear…

🧬 WQL / PowerShell

Win32_PnPSignedDriver: Discovering Available Properties (Get-CimClass)

Uses Get-CimClass to list every real property and method Win32_PnPSignedDriver exposes on the current system, instead o…

⚡ PowerShell 5.1+

Get Network Login Profiles Report

Queries Win32_NetworkLoginProfile via WMI and reports Network Login Profiles in a formatted table, with an optional CSV…

📊 VBA (Excel)

Load Operating System Info into Excel via WMI

Queries Win32_OperatingSystem via GetObject("winmgmts:") and dumps every Operating System Info row straight onto the ac…

⚡ PowerShell 5.1+

Backup Processor Info List to JSON

Snapshots Processor Info from Win32_Processor to a timestamped JSON file for later comparison or auditing.

🟣 C# / .NET 6+

Get Startup Programs Report (C#)

Queries Win32_StartupCommand via WMI (System.Management) and prints Startup Programs to the console.