Tag: processes

22 script(s) tagged “processes”

🧬 WQL / PowerShell

Win32_Process: Processes (WQL)

A minimal WQL reference query against Win32_Process β€” the raw SELECT statement plus a one-line runner, useful for learn…

πŸ“œ VBScript (WSH)

Get Processes Report to File (VBScript)

Queries Win32_Process via WMI and writes Processes to a timestamped text file, handy for scheduled logon/logoff scripts.

πŸ“„ JScript (WSH)

Get Processes Report (JScript)

Queries Win32_Process via WMI and prints Processes to the console β€” JScript, VBScript's WSH sibling language.

πŸ–₯️ Batch (CMD)

Get Processes Report (Batch)

Uses wmic to list Processes (Win32_Process) straight from the command line.

πŸ“œ VBScript (WSH)

Get Processes Report (VBScript)

Queries Win32_Process via WMI and prints Processes to the console β€” no PowerShell required.

🧬 WQL / PowerShell

Win32_Process: Discovering Available Properties (Get-CimClass)

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

⚑ PowerShell 5.1+

Backup Processes List to JSON

Snapshots Processes from Win32_Process to a timestamped JSON file for later comparison or auditing.

⚑ PowerShell 5.1+

Watch Processes for Changes

Polls Win32_Process on an interval and prints a line whenever the Processes count changes β€” a lightweight way to notice…

⚑ PowerShell 5.1+

Get Processes Report

Queries Win32_Process via WMI and reports Processes in a formatted table, with an optional CSV export.

πŸ“Š VBA (Excel)

Load Processes into Excel via WMI

Queries Win32_Process via GetObject("winmgmts:") and dumps every Processes row straight onto the active worksheet, no P…

🧬 WQL / PowerShell

Win32_Process: Event-Driven Monitoring (WQL __InstanceCreationEvent)

Subscribes to WMI's __InstanceCreationEvent for Win32_Process via Register-CimIndicationEvent β€” real WQL event query sy…

🟣 C# / .NET 6+

Backup Processes to JSON (C#)

Snapshots Processes (Win32_Process) to a timestamped JSON file via System.Management and System.Text.Json.