If you have not finish reading previous post , visit http://kantipur.friendhood.net/t783-deploying-and-confguring-virtual-machines
You can create new virtual machines on a Hyper-V host by using either Hyper-V Manager or
Windows PowerShell
Using Hyper-V Manager
Creating a new virtual machine using Hyper-V Manager is performed in the same way as in
previous versions of Windows Server The steps in this process are as follows:
1. Launch the New Virtual Machine Wizard by right-clicking on the host in Hyper-V
Manager and selecting New and then Virtual Machine
2. Specify a descriptive name for the new virtual machine, and optionally specify a
different location for storing the virtual machine’s fles (confguration fles, virtual hard
disks, and snapshots) if the default storage locations for the host are not the ones you
want to use
3. Specify the amount of startup memory to be used by the virtual machine’s guest
operating system, and specify whether Dynamic Memory is to be used for the virtual
machine
4. Select an existing virtual switch on the host that should be connected to the virtual
network adapter on the virtual machine, or leave the virtual machine unconnected
from any virtual switches on the host
5. Create a new virtual disk as the system volume on the virtual machine, attach an
existing virtual disk for this purpose, or create the virtual machine without any virtual
hard disks attached so that you can attach one later. If you choose the frst option, you
can specify whether to install the guest operating system later, install it from the virtual
CD/DVD drive or ISO image fle or virtual foppy disk, or install it from a network-based
installation server (if you have connected the virtual network adapter to a virtual
switch)
Using Windows PowerShell
You can also use the New-VM cmdlet to create a new virtual machine using Windows
PowerShell For example, to create a new virtual machine named SRV-A on HOST4, assign
the virtual machine 1 GB of startup memory, attach it to the virtual switch named CONTOSO
Virtual Switch, create a new virtual hard disk (VHDX fle) of size 500 GBs in the default loca-
tion, and make the virtual CD drive the default boot device, use the following command:
PS C:\> New-VM -ComputerName HOST4 -Name SRV-A -MemoryStartupBytes 1GB `
-BootDevice CD -SwitchName "CONTOSO Virtual Switch" -NewVHDSizeBytes 500GB `
-NewVHDPath SRV-A.vhdx
Name State CPUUsage(%) MemoryAssigned(M) Uptime Status
---- ----- ----------- ----------------- ------ ------
SRV-A Off 0 0 00:00:00 Operating normally
Importing virtual machines
Importing existing virtual machines onto a Hyper-V host can also be performed using either
Hyper-V Manager or Windows PowerShell For example, to import a virtual machine using
Hyper-V Manager, select the target host and click Import Virtual Machine in the Actions
pane This launches the Virtual Machine Import Wizard, you can use this
wizard to perform the various import scenarios described earlier in post
To import virtual machines using Windows PowerShell, use the Import-VM cmdlet For
help on using this cmdlet, see the examples at the end of the “Import-VM” topic at
http://technet.microsoft.com/en-us/library/hh848495
and Videos :
You can create new virtual machines on a Hyper-V host by using either Hyper-V Manager or
Windows PowerShell
Using Hyper-V Manager
Creating a new virtual machine using Hyper-V Manager is performed in the same way as in
previous versions of Windows Server The steps in this process are as follows:
1. Launch the New Virtual Machine Wizard by right-clicking on the host in Hyper-V
Manager and selecting New and then Virtual Machine
2. Specify a descriptive name for the new virtual machine, and optionally specify a
different location for storing the virtual machine’s fles (confguration fles, virtual hard
disks, and snapshots) if the default storage locations for the host are not the ones you
want to use
3. Specify the amount of startup memory to be used by the virtual machine’s guest
operating system, and specify whether Dynamic Memory is to be used for the virtual
machine
4. Select an existing virtual switch on the host that should be connected to the virtual
network adapter on the virtual machine, or leave the virtual machine unconnected
from any virtual switches on the host
5. Create a new virtual disk as the system volume on the virtual machine, attach an
existing virtual disk for this purpose, or create the virtual machine without any virtual
hard disks attached so that you can attach one later. If you choose the frst option, you
can specify whether to install the guest operating system later, install it from the virtual
CD/DVD drive or ISO image fle or virtual foppy disk, or install it from a network-based
installation server (if you have connected the virtual network adapter to a virtual
switch)
Using Windows PowerShell
You can also use the New-VM cmdlet to create a new virtual machine using Windows
PowerShell For example, to create a new virtual machine named SRV-A on HOST4, assign
the virtual machine 1 GB of startup memory, attach it to the virtual switch named CONTOSO
Virtual Switch, create a new virtual hard disk (VHDX fle) of size 500 GBs in the default loca-
tion, and make the virtual CD drive the default boot device, use the following command:
PS C:\> New-VM -ComputerName HOST4 -Name SRV-A -MemoryStartupBytes 1GB `
-BootDevice CD -SwitchName "CONTOSO Virtual Switch" -NewVHDSizeBytes 500GB `
-NewVHDPath SRV-A.vhdx
Name State CPUUsage(%) MemoryAssigned(M) Uptime Status
---- ----- ----------- ----------------- ------ ------
SRV-A Off 0 0 00:00:00 Operating normally
Importing virtual machines
Importing existing virtual machines onto a Hyper-V host can also be performed using either
Hyper-V Manager or Windows PowerShell For example, to import a virtual machine using
Hyper-V Manager, select the target host and click Import Virtual Machine in the Actions
pane This launches the Virtual Machine Import Wizard, you can use this
wizard to perform the various import scenarios described earlier in post
To import virtual machines using Windows PowerShell, use the Import-VM cmdlet For
help on using this cmdlet, see the examples at the end of the “Import-VM” topic at
http://technet.microsoft.com/en-us/library/hh848495
and Videos :