Exporting and Importing the Source DC Virtual Machine

To create the clone, the source DC (remember that the source DC cannot be the PDC emulator) must be shut down and exported in Hyper-V. You can do this by just right-clicking the guest session in Hyper-V manager, choosing Export, and specifying an export directory, or you can do so via PowerShell with the following syntax (where 2012-DC2 is the name of the virtual DC session and Hyper-V is the name of the Hyper-V host):

Export-VM –Name 2012-DC2 –ComputerName HyperV –Path C:\Export

You can then import it via the GUI interface, as a new guest session; just be sure to choose to Copy the Virtual Machine (Create New Unique ID) option, as shown in Figure 7.18, and to choose a new location for the ...

Get Windows Server® 2012 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.