Script Download: AdjustVirtualMemoryPagingFileSize.zip
http://gallery.technet.microsoft.com/scriptcenter/Script-to-configure-e8d85fee
This PowerShell Script illustrates how to adjust virtual memory page file size.
During deployment, customers want to adjust virtual memory page file size on several PCs. This is also useful to the customers who are not familiar with the calculating the value for the virtual memory or operating in the user interface.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery