By using this site, you agree to the Privacy Policy.
Accept
EnterinITEnterinITEnterinIT
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Reading: How to Create a Virtual Machine in Windows 10 using Hyper-V Manager, PowerShell, and Quick Create
Font ResizerAa
EnterinITEnterinIT
Font ResizerAa
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
  • WINDOWS
  • SCCM Query Collection List
Search
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Hyper-V

How to Create a Virtual Machine in Windows 10 using Hyper-V Manager, PowerShell, and Quick Create

Published November 28, 2024
4 Min Read
SHARE

How to Create a Virtual Machine in Windows 10 using Hyper-V Manager, PowerShell, and Quick Create.

Contents
Create a Virtual Machine with a Hyper-V Manager consoleCreate a Virtual Machine with Windows PowerShellCreate a Virtual Machine with Hyper-V Quick Create

Create a Virtual Machine with a Hyper-V Manager console

1. Start your Hyper-V Manager Console and click New;

2. In the drop-down list select Virtual Machine;

3. In the new window press Next;

4. Enter the name of your VM, in my case 21-109-10-sccm.

NOTE: At this stage, you may change the folder in which vm config files store. Or use default settings as I.

Click Next;

5. Select the Generation of your VM. (for old Windows, Linux better to use Generation 1). I use Generation 2. Click Next;

6. Enter the memory size for your VM. (You may set Use Dynamic Memory for this machine). Click Next;

7. Select an early-prepared network connection. In this deployment, I use External. Click Next;

8. Create a new one, use existing VHD(X), or select Attach a virtual hard disk later (to attach later). My VM Generation 2, so it uses VHDX format. Click Next;

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. Click Next;

10. Check summary information and click Finish;

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, PowerShell is the tool to choose.

1. Run Windows PowerShell (Admin).

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. For example, 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

Hyper-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. Open 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. Click Change Installation Source and select the required file. The Secure Boot option can be checked only if the VM will run Windows;

4. Click More options in the lower right corner;

5. Type the name of the VM;

6. Choose the virtual switch;

4. Click Create Virtual Machine to start the process.

TAGGED:Microsoft Hyper-VMicrosoft Windows ServerPowerShellWindowsWindows 10
Previous Article Actions with VM in Hyper-V Windows 10: A Guide to Managing Virtual Machines
Next Article How to Install .Net Framework 3.5 Offline in Windows 10 and Windows Server
Leave a Comment Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translation

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
by Transposh - translation plugin for wordpress

Popular Posts

System Requirements for Windows Server 2016
Windows Server
Configuration Manager Query Collection List
Configuration Manager Query Collection List
ConfigMgr
Structured/Managed Navigation enabled on Modern Pages in Classic Team Sites
Tech
SCCM Failed to get DP locations as the expected version from MP
ConfigMgr

Recent Posts

Installing and Configuring Fail2ban for SSH Protection on Ubuntu 24.04
Linux
Enabling and Configuring FirewallD on AlmaLinux
Linux
User Creation and SSH Key Setup in AlmaLinux
Linux
How to reset password on AlmaLinux
Linux

© 2023 EnterinIT

Go to mobile version
adbanner
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?