Forum Discussion
JFish1
Jan 29, 2024Copper Contributor
Hyper-V "Planned Virtual Machines" directory
Hi Folks, Search attempts failed me, apologies if this is covered elsewhere. Environment: I have a standalone Hyper-V host with partitions: C:\ [OS] 80GB D:\ [Data] ~900GB Hyper-V ...
DerpityDerpDerp
Jan 18, 2025Copper Contributor
Hyper-V Planned VMs are staged VMs in working memory the Hyper-V Service uses to create VMs from. The only way to unlock all the configuration files under the Planned VMs directory is by stopping the Hyper-V Management Service.
I'm writing a script that does import / export through WMI and upon importing a configuration file (VMCX) a Planned VM is created with the, optionally new, GUID. My struggle now is trying to turn the Planned VM into a Computer Object so I can export the modified configuration or simply find a way to turn the Planned VM into a Regular VM in Hyper V through WMI.
Good luck