Tag: wmi
750 script(s) tagged “wmi”
Export Local User Accounts to CSV (Batch)
Uses wmic to export Local User Accounts (Win32_UserAccount) to a timestamped CSV file.
Win32_USBController: Querying USB Controllers Remotely (CIM Session)
Runs the same Win32_USBController WQL query against a remote computer over a CIM session — the modern, WinRM-based repl…
Export CD/DVD Drives to CSV via WMI (VBA)
Queries Win32_CDROMDrive via WMI and writes every CD/DVD Drives row straight to a CSV file in Documents, using plain VB…
Export Operating System Info to CSV (Python)
Exports Operating System Info (Win32_OperatingSystem) to a timestamped CSV file via wmic.
Win32_Printer: Querying Printers Remotely (CIM Session)
Runs the same Win32_Printer WQL query against a remote computer over a CIM session — the modern, WinRM-based replacemen…
Get Time Zone Settings Report to File (VBScript)
Queries Win32_TimeZone via WMI and writes Time Zone Settings to a timestamped text file, handy for scheduled logon/logo…
Win32_PnPSignedDriver: Filtering Signed Drivers (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_PnPSignedDriver, starting from a LIKE '%' wildcard you customize with a…
Win32_Environment: Sorting Environment Variables (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…
Get Installed MSI Products Report (C#)
Queries Win32_Product via WMI (System.Management) and prints Installed MSI Products to the console.
Win32_BIOS: Filtering BIOS Info (WQL WHERE)
Shows the WQL WHERE clause syntax against Win32_BIOS, starting from a LIKE '%' wildcard you customize with a real searc…
Export Physical Memory Modules to CSV (Python)
Exports Physical Memory Modules (Win32_PhysicalMemory) to a timestamped CSV file via wmic.
Win32_QuickFixEngineering: Querying Installed Hotfixes Remotely (CIM Session)
Runs the same Win32_QuickFixEngineering WQL query against a remote computer over a CIM session — the modern, WinRM-base…