Script to pull page file and drive location

Posted on 2013-09-24
Medium Priority
Last Modified: 2013-09-25
Need help to create a script that will identify which drive the page file is on.  This will help us to do a onetime check of all the locations of the page files to ensure they are not on the different drives.

Server 2003 & 2008
Question by:Sekar Chinnakannu
LVL 29

Accepted Solution

becraig earned 750 total points
ID: 39519131
gwmi  Win32_PageFileUsage | select-object -expa Name

Do you need something more specific for this ?
LVL 18

Assisted Solution

by:Steven Harris
Steven Harris earned 750 total points
ID: 39519191
You could always download the Vexasoft Cmdlet Library, which has functions such as 'Get-Pagefile' which would return the Type, Location, MinSize and MaxSize.

(becraig's script works as well)

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In a question here at Experts Exchange, a member was looking for "a little app that would allow sound to be turned OFF and ON by simply clicking on an icon in the system tray". This article shows how to achieve that, as well as providing the same OF…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question