Tag: startup

22 script(s) tagged “startup”

🧬 WQL / PowerShell

Win32_StartupCommand: Querying Startup Programs Remotely (CIM Session)

Runs the same Win32_StartupCommand WQL query against a remote computer over a CIM session β€” the modern, WinRM-based rep…

πŸ“Š VBA (Excel)

Export Startup Programs to CSV via WMI (VBA)

Queries Win32_StartupCommand via WMI and writes every Startup Programs row straight to a CSV file in Documents, using p…

πŸ“œ VBScript (WSH)

Get Startup Programs Report (VBScript)

Queries Win32_StartupCommand via WMI and prints Startup Programs to the console β€” no PowerShell required.

πŸ–₯️ Batch (CMD)

Get Startup Programs Report (Batch)

Uses wmic to list Startup Programs (Win32_StartupCommand) straight from the command line.

⚑ PowerShell 5.1+

Get Startup Programs Report

Queries Win32_StartupCommand via WMI and reports Startup Programs in a formatted table, with an optional CSV export.

πŸ“Š VBA (Excel)

Load Startup Programs into Excel via WMI

Queries Win32_StartupCommand via GetObject("winmgmts:") and dumps every Startup Programs row straight onto the active w…

πŸ–₯️ Batch (CMD)

Export Startup Programs to CSV (Batch)

Uses wmic to export Startup Programs (Win32_StartupCommand) to a timestamped CSV file.

🧬 WQL / PowerShell

Win32_StartupCommand: Sorting Startup Programs (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+

Get Startup Programs Report (C#)

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

🐍 Python 3.10+

Export Startup Programs to CSV (Python)

Exports Startup Programs (Win32_StartupCommand) to a timestamped CSV file via wmic.

🧬 WQL / PowerShell

Win32_StartupCommand: Discovering Available Properties (Get-CimClass)

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

πŸ“„ JScript (WSH)

Get Startup Programs Report (JScript)

Queries Win32_StartupCommand via WMI and prints Startup Programs to the console β€” JScript, VBScript's WSH sibling langu…