How to change virtual memory on systems with different RAM sizes via script ?
I have Win10 ENT 1809 systems with 8GB of RAM and now 16GB of RAM. How can I change the virtual memory via a script that reads the RAM amount and changes accordingly ? The WIM virtual memory is set for 8GB 12288/24576 and 16GB machines needs to be set at 24576/49152. I just need a script I can run in a task sequence after image deployment. HELP.