विंडोज़ में वर्चुअल मशीन कैसे बनाएं 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 VM, मेरे मामले में 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. Select the Generation of your VM. (for old Windows, Linux better to use Generation 1). मैं उपयोग करता हूं Generation 2. क्लिक अगला;
6. Enter the memory size for your VM. (You may set Use Dynamic Memory for this machine). क्लिक अगला;
7. Select an early-prepared network connection. In this deployment, मैं उपयोग करता हूं External. क्लिक अगला;
8. Create new one, use existing VHD(एक्स), or select Attach a virtual hard disk later (to attach later). My VM Generation 2, so it uses VHDX format. क्लिक अगला;
9. Select from where you installed Operating System to VM or select Install an operating system later. I use prepared *.iso of Windows 10 1607 x64 EN, stored in folder D:\ISO. क्लिक अगला;
10. Check summary information and click खत्म करना;
11. Our VM 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.
1. दौड़ना विंडोज़ पॉवरशेल (व्यवस्थापक).
2. Run the following script:
New-VM -Name <Name> -Path <Path> -NewVHDPath <VHDPath> NewVHDSizeBytes <Memory> -Generation <Generation> -MemoryStartupBytes <Memory> -SwitchName <SwitchName>
3. Check in Hyper-V Manager to verify whether the VM has been created.
The PowerShell script can be extended by including additional configuration options. उदाहरण के लिए, you can set up the VM memory by including the following cmdlets:
Set-VM -Name <Name> -ProcessorCount <Number of Processors> -DynamicMemory -MemoryMinimumBytes <Memory> -MemoryStartupBytes <Memory> -MemoryMaximumBytes <Memory>
To explore other PowerShell cmdlets and how they can help in managing a virtual environment, run this command:
Get-Command -Module hyper-v | Out-GridView
You will see a list of all PowerShell commands, which you can include in your script.
Create a Virtual Machine with Hyper-V Quick Create
हाइपर-वी 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. खुला Hyper-V Quick Create;
2. Select an OS from the list on the left, or install a guest OS from an ISO image file (.iso) or a VHD file (.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 VM will run Windows;
4. क्लिक More options in the lower right corner;
5. Type the name of the VM;
6. Choose the virtual switch;
4. क्लिक Create Virtual Machine to start the process.