Tag: performance

35 script(s) tagged “performance”

🐍 Python 3.10+

Clean Up The Windows Prefetch folder (Python)

Reports the size of the Windows Prefetch folder and optionally clears it out. Dry-run by default.

πŸ“œ VBScript (WSH)

Get Page File Usage Report to File (VBScript)

Queries Win32_PageFileUsage via WMI and writes Page File Usage to a timestamped text file, handy for scheduled logon/lo…

⚑ PowerShell 5.1+

Clean Up The Windows Prefetch folder

Reports the size of the Windows Prefetch folder and optionally clears it out. Dry-run by default.

🐍 Python 3.10+

Get Page File Usage Report (Python)

Uses wmic under the hood to report Page File Usage (Win32_PageFileUsage) β€” no third-party packages required.

🧬 WQL / PowerShell

Win32_PageFileUsage: Discovering Available Properties (Get-CimClass)

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

🐍 Python 3.10+

Get The Windows Prefetch folder Size Report (Python)

Recursively sums the size of the Windows Prefetch folder, read-only (no deletion).

πŸ“„ JScript (WSH)

Get Page File Usage Report (JScript)

Queries Win32_PageFileUsage via WMI and prints Page File Usage to the console β€” JScript, VBScript's WSH sibling languag…

🟣 C# / .NET 6+

Get Page File Usage Report (C#)

Queries Win32_PageFileUsage via WMI (System.Management) and prints Page File Usage to the console.

πŸ“œ VBScript (WSH)

Clean Up The Windows Prefetch folder (VBScript)

Reports the size of the Windows Prefetch folder and deletes its contents after a confirmation prompt.

⚑ PowerShell 5.1+

Watch Page File Usage for Changes

Polls Win32_PageFileUsage on an interval and prints a line whenever the Page File Usage count changes β€” a lightweight w…

🧬 WQL / PowerShell

Win32_PageFileUsage: Filtering Page File Usage (WQL WHERE)

Shows the WQL WHERE clause syntax against Win32_PageFileUsage, starting from a LIKE '%' wildcard you customize with a r…

πŸ–₯️ Batch (CMD)

Export Page File Usage to CSV (Batch)

Uses wmic to export Page File Usage (Win32_PageFileUsage) to a timestamped CSV file.