Powershell – set Pagefile
By: Date: August 6, 2021 Categories: Powershell Tags: , ,

You can use the below script to set the pagefile on a disk with Powershell. Just change the drive letter and the min and max size. Make sure you restart the machine after you ran the script. Restart the machine with the following command.-r = restart-f = force-t 0 = don’t wait. You can check…

Read More →