I've been asked to write a small script that can get run on new machines. One of the things they want to do is change the pagefile location form C: to E:. Is that something that can be done in Powershell?
I saw some things online referencing the win32_pagefilesetting class but it doesn't seem to work when I try to do anything with it so not sure what that's about.
Thanks!