Tag: performance
35 script(s) tagged “performance”
Win32_PageFileUsage: Event-Driven Monitoring (WQL __InstanceCreationEvent)
Subscribes to WMI's __InstanceCreationEvent for Win32_PageFileUsage via Register-CimIndicationEvent β real WQL event quβ¦
List Files in The Windows Prefetch folder (VBA)
Lists every file in the Windows Prefetch folder with size and last-modified date directly on the active worksheet, usinβ¦
Win32_PageFileUsage: Page File Usage (WQL)
A minimal WQL reference query against Win32_PageFileUsage β the raw SELECT statement plus a one-line runner, useful forβ¦
Backup The Windows Prefetch folder to Zip
Zips up the current contents of the Windows Prefetch folder before you run a cleanup against it.
Get Page File Usage Report (VBScript)
Queries Win32_PageFileUsage via WMI and prints Page File Usage to the console β no PowerShell required.
Backup The Windows Prefetch folder to Zip (Python)
Zips up the current contents of the Windows Prefetch folder before you run a cleanup against it.
Backup Page File Usage List to JSON
Snapshots Page File Usage from Win32_PageFileUsage to a timestamped JSON file for later comparison or auditing.
Clean Up The Windows Prefetch folder (VBA)
Deletes every file in the Windows Prefetch folder after a confirmation prompt, using Scripting.FileSystemObject from Exβ¦
Get The Windows Prefetch folder Size Report (VBScript)
Recursively sums the size of the Windows Prefetch folder, read-only (no deletion).
Win32_PageFileUsage: Finding Associated Objects (WQL ASSOCIATORS OF)
Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_PageFβ¦
Win32_PageFileUsage: Querying Page File Usage Remotely (CIM Session)
Runs the same Win32_PageFileUsage WQL query against a remote computer over a CIM session β the modern, WinRM-based replβ¦