🖥️ Batch (CMD)

Get Page File Usage Report (Batch)

Uses wmic to list Page File Usage (Win32_PageFileUsage) straight from the command line.

By WindowsScripting.com · 330 B
GetPageFileUsageReport.bat
@echo off
:: ============================================================
:: GetPageFileUsageReport.bat
::
:: Reports Page File Usage via WMI (Win32_PageFileUsage).
:: ============================================================

wmic path Win32_PageFileUsage get Name,AllocatedBaseSize,CurrentUsage,PeakUsage /format:table

pause