03 July,2015 by Tom Collins
Question: How can I find the Windows pagefile location through the command line? I don’t have access to a GUI on a server and need to identify the pagefile.
Answer: It is possible to utilise the wmic - (Windows Management Instrumentation Command-line). This command will list some basic information about the pagefile – such as : Current usage, pagefile location, Peak Usage,Pagefile size
wmic pagefile list /format:list
You could also use the Powershell invoke-expression cmdlet, to execute the wmic command
invoke-expression "wmic pagefile list /format:list"
Another way of returning the pagefile location through Powershell is
Get-WmiObject Win32_PageFileusage | Select-Object Name
Windows Pagefile size for dedicated SQL Servers - SQL Server DBA
SQL Server - Windows Virtual memory and paging file location ...
This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Posted by: |