Tag: wmi
750 script(s) tagged “wmi”
Win32_Environment: Environment Variables (WQL)
A minimal WQL reference query against Win32_Environment — the raw SELECT statement plus a one-line runner, useful for l…
Get Pointing Devices Report
Queries Win32_PointingDevice via WMI and reports Pointing Devices in a formatted table, with an optional CSV export.
Win32_QuickFixEngineering: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Quick…
Export Operating System Info to CSV (Batch)
Uses wmic to export Operating System Info (Win32_OperatingSystem) to a timestamped CSV file.
Export Local User Accounts to CSV (Python)
Exports Local User Accounts (Win32_UserAccount) to a timestamped CSV file via wmic.
Get BIOS Info Report to File (VBScript)
Queries Win32_BIOS via WMI and writes BIOS Info to a timestamped text file, handy for scheduled logon/logoff scripts.
Win32_NetworkLoginProfile: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Netwo…
Win32_UserAccount: Discovering Available Properties (Get-CimClass)
Uses Get-CimClass to list every real property and method Win32_UserAccount exposes on the current system, instead of gu…
Get Network Login Profiles Report to File (VBScript)
Queries Win32_NetworkLoginProfile via WMI and writes Network Login Profiles to a timestamped text file, handy for sched…
Backup System Drivers to JSON (C#)
Snapshots System Drivers (Win32_SystemDriver) to a timestamped JSON file via System.Management and System.Text.Json.
Win32_NetworkAdapterConfiguration: Network Adapter Configuration (WQL)
A minimal WQL reference query against Win32_NetworkAdapterConfiguration — the raw SELECT statement plus a one-line runn…
Backup Services to JSON (Python)
Snapshots Services (Win32_Service) to a timestamped JSON file for later comparison or auditing.