W2KSG: Page File
In theory Listing 10.19
Get-WmiObject -Class Win32_PageFile | Select CreationDate, Description, Drive, FileName, FileSize, InitialSize, InstallDate, MaximumSize,Name, Path
should return information about the page file. On my Vista machine it doesn't return anything which is due to my allowing the system to manage the page file I think.
We can see information on page file usage though - Listing 10.20
Get-WmiObject -Class Win32_PageFileUsage | Select AllocatedBaseSize, CurrentUsage, Description, InstallDate, Name, PeakUsage
works nicely even on system managed files.
|Share this post :|