How to Create a 虚拟机 在 视窗 10 使用 超V 经理, 电源外壳, 并快速创建.
Create a Virtual Machine with a Hyper-V Manager console
1. Start your 超V 经理 Console and click 新的;
2. In the drop-down list select 虚拟机;
3. In the new window press 下一个;
4. Enter the name of your 虚拟机, 就我而言 21-109-10-sccm.
笔记: At this stage, you may change the folder in which vm config files store. Or use default settings as I.
点击 下一个;
5. 选择 Generation of your 虚拟机. (for old 视窗, Linux better to use Generation 1). 我用 Generation 2. 点击 下一个;
6. Enter the memory size for your 虚拟机. (You may set Use Dynamic Memory for this machine). 点击 下一个;
7. Select an early-prepared network connection. In this deployment, 我用 External. 点击 下一个;
8. Create a new one, use existing VHD(X), or select Attach a virtual hard disk later (to attach later). My 虚拟机 Generation 2, so it uses VHDX format. 点击 下一个;
9. Select from where you installed Operating System to 虚拟机 or select Install an operating system later. I use prepared *.异 of 视窗 10 1607 x64 EN, stored in folder d:\ISO. 点击 下一个;
10. Check summary information and click 结束;
11. Our 虚拟机 was created!
But don’t hurry run it. You can do more in-depth configuration.
Create a Virtual Machine with Windows PowerShell
If you want to build a large-scale virtual environment with multiple VMs running at the same time, 电源外壳 is the tool to choose.
2. Run the following script:
New-VM -Name <姓名> -Path <Path> -NewVHDPath <VHDPath> NewVHDSizeBytes <Memory> -Generation <Generation> -MemoryStartupBytes <Memory> -SwitchName <SwitchName>
3. Check in 超V Manager to verify whether the 虚拟机 has been created.
这 电源外壳 script can be extended by including additional configuration options. 例如, you can set up the 虚拟机 memory by including the following cmdlets:
Set-VM -Name <姓名> -ProcessorCount <Number of Processors> -DynamicMemory -MemoryMinimumBytes <Memory> -MemoryStartupBytes <Memory> -MemoryMaximumBytes <Memory>
To explore other 电源外壳 cmdlets and how they can help in managing a virtual environment, run this command:
Get-Command -Module 超V | Out-GridView
You will see a list of all 电源外壳 commands, which you can include in your script.
Create a Virtual Machine with Hyper-V Quick Create
超V Quick Create was specifically designed to make the process of creating VMs even easier and faster, as it can be completed in just a few clicks.
1. 打开 超V Quick Create;
2. Select an OS from the list on the left, or install a guest OS from an ISO 图像文件 (.异) 或一个 VHD 文件 (.vhd or .vhdx) by clicking Local installation source;
3. 点击 Change Installation Source and select the required file. The Secure Boot option can be checked only if the 虚拟机 will run 视窗;
4. 点击 More options in the lower right corner;
5. Type the name of the 虚拟机;
6. Choose the virtual switch;
4. 点击 创造 虚拟机 to start the process.