• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5345
  • Last Modified:

PowerShell to remotely display PageFile size?

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.
1 Solution
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
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.
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

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now