I need to make some changes to a Hyper-V storage and I need to modify certain settings of each VM on the host.
The values I need to change are:
- ConfigurationLocation
- SnapshotFileLocation
- SmartPagingFilePath
- Path
I can change the 2nd and the 3rd with this command:
set-vm -VMName $vm -SmartPagingFilePath $newVMPath -SnapshotFileLocation $newVMPath
However, there are no apparent switches for the "path" and "configurationlocation" parameters. How do I set them with Powershell?