Jump to content

Recommended Posts

Posted (edited)
I got a bit click-happy last week, and removed a virtual disk from one of our VMs, just the link to the vhdx file in Hyper-V Manager not the actual file itself. I've put it back now, but it took me a little while to get the correct path for it. Is there a way I can export the CPU, RAM and disk settings of all our VMs, either individually or in one go? Edited by enjay
Posted

was looking at this myself,

there is the powershell

Export-VM

but that does everything, i.e. disks

or just to see vm info you could use

get-vm | fl *

and to see drive paths

get-vm | select -ExpandProperty HardDrives

 

Also I'm sure each VM used to have an XML config file you could copy / backup but

just checking under "Virtual Machines" sub folder I can't find it now,

 

Quick google looks like xml file has been replaced by a binary vmcx file :(

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...