I was able to change the VM SnapShotFileLcation, SmartPagingFileLocation
and stuckÂ trying to change the ConfigurationLocation and Path.
Current path and configurationLocation = "server\vhd\vmm.vhdx"
To new path or ConfigurationLocation = "server.contoso.com\vhd\vmm.vhdx"
Are you talking about Hyper-V or VMware? Because each have their own set of cmdlets. Can you share what you have so far? It will be much easier for someone to help if they see what you have now and if they can also see whatever errors you are encountering.