For one of our applications, we need to configure virtual memory on a Windows Machine to be system Managed.
This can be done manually under System Properties -> Performance (Settings...) -> Performance Options Advanced Tab -> Virtual Memory Change... -> Check if a hard drive is switched to "System Managed Size".
This is great, but I have to do this for a large number of machines and would prefer to batch command or powershell script gathering this information while checking other configurations.
The closest I have found for interacting with this page is
wmic computersystem get AutomaticManagedPagefile
But this only checks if the checkbox at the top is configured, not a specific hard drive.
Does anyone have any suggestions on how to do this in a more automated fashion?