PowerShell to remotely display PageFile size?

Posted on 2012-08-23
1 Ratings
Last Modified: 2012-09-03
I would like a script that would return the PageFile sizes of remote computers on our corporate network.

We are running Win 7 and I have the host computer names for each computer.

I am a software trainer with a basic understanding of PowerShell.
Question by:geekmee2
    1 Comment
    LVL 67

    Accepted Solution

    Get-WMIObject Win32_PageFileSetting -Computer PC1, PC2, PC3 |  select __Server, Name, InitialSize, MaximumSize

    Open in new window

    should give you that for a number of PCs, provided you do not need special credentials. The sizes are in MB.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    The Display applet of Windows 7 Control Panel has changed a great deal since Windows XP  (it was missing and more or less replaced in Windows Vista by the Personalization applet.)  Below is a screenshot of what the Display applet of Windows XP, whic…
    I found out last night windows update has a problem regarding 4 latest updates that fail.  The way to get all 4 them installed is install sp1 first and restart then one by one with a resart in between as they fail every time if all the four updates …
    This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
    The viewer will learn how to back up in Windows 7 with native tools. This should be the first step. Third party tools should also be used. Access the Backup and Restore options: Click on the windows 7 start ball in the lower left corner of the scree…

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now