Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Can I change the Pagefile Location via Powershell?

$
0
0

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!


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>