Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources: Active Threads
Viewing all articles
Browse latest Browse all 8411

PowerShell v3.0 Export-Vm - no config.xml?

$
0
0

Problem: Running the "Export-VM -Name foo -Path D:\exports" command from the PowerShell v3.0 console does not produce a importable export.   The Config.XML file is missing.

Context: Hyper-V Server 2012 with native PowerShell v3.0

Description: When I run an export of an operational VM from the Hyper-V Manager (on Windows 7) the export is created with the required Config.XML file.   If I then execute the Export-VM command from the PowerShell console on the Hyper-V Server 2012 itself of the same stopped VM the export runs but the Config.XML file is not created.   An attempt to import this command line export results in a failure.   No such error is encountered when importing the export created from the Hyper-V Manager.

Please advise.  

TIA


Viewing all articles
Browse latest Browse all 8411

Trending Articles