Hyper-V R2 and Windows Page File

Author by Nathan Lasnoski

I was asked how to set the pagefile on a Hyper-V Server, considering the GUI doesn't exist.  After some research, I came on these commands. 


Here are the Hyper-V PageFile Commands: Get Configuration: wmic pagefile get /format:list  Turn Off Automatic Configuration: wmic computersystem set AutomaticManagedPagefile=False Configure: wmic pagefileset set initialsize=5000,maximumsize=10000 Simply customize "5000" and "10000" to the desired sizes for your server.

Nathan Lasnoski

Chief Technology Officer