Використовуючи цей сайт, ви погоджуєтеся з Політика конфіденційності.
прийняти
ЕнтеринЕнтеринЕнтерин
  • ДІМ
  • Це про
  • ТЕХ
  • Microsoft
    • Лазурний
    • Configmgr/sccm
    • DPM
    • Оркестрант
    • Гіпер-V
    • Інсайдер Microsoft Edge
    • MSI
    • Офіс 365
    • Інсайдер Office
    • Потужність BI
    • Скайп
    • SQL Server
    • Команди
  • ВІКНА
    • Центр адміністрування Windows
    • Клієнт Windows
    • Windows Server
  • Список колекції запитів SCCM
Читання: How to Create a Virtual Machine in Windows 10 using Hyper-V Manager, PowerShell, and Quick Create
Зміна розміру шрифтуАа
ЕнтеринЕнтерин
Зміна розміру шрифтуАа
  • ДІМ
  • Це про
  • ТЕХ
  • Microsoft
  • ВІКНА
  • Список колекції запитів SCCM
Пошук
  • ДІМ
  • Це про
  • ТЕХ
  • Microsoft
    • Лазурний
    • Configmgr/sccm
    • DPM
    • Оркестрант
    • Гіпер-V
    • Інсайдер Microsoft Edge
    • MSI
    • Офіс 365
    • Інсайдер Office
    • Потужність BI
    • Скайп
    • SQL Server
    • Команди
  • ВІКНА
    • Центр адміністрування Windows
    • Клієнт Windows
    • Windows Server
  • Список колекції запитів SCCM
Гіпер-V

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

Опублікований: Лютий 4, 2024
4 Хв. читання
ПОДІЛИТИСЯ

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

Зміст
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 Новачок;

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

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). I use 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, I use External. Натисніть Далі;

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. Натисніть Далі;

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 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. бігти Windows PowerShell (адмін).

2. Run the following script:

New-VM -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 <Ім'я> -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. Натисніть 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.

ПОМІЧЕНО:Microsoft Hyper-VMicrosoft Windows ServerPowerShellвікнавікна 10
Попередня стаття Actions with VM in Hyper-V Windows 10: A Guide to Managing Virtual Machines
Наступна стаття How to Install .Net Framework 3.5 Offline in Windows 10 and Windows Server
Залиште коментар Залиште коментар

Залиште відповідь Скасувати відповідь

Ваша електронна адреса не буде опублікована. Обов'язкові поля позначені *

Цей сайт використовує Akismet для зменшення спаму. Дізнайтеся, як обробляються дані ваших коментарів.

Переклад

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

Популярні публікації

Системні вимоги для Windows Server 2016
Windows Server
Список колекції запитів диспетчера конфігурацій
Список колекції запитів диспетчера конфігурацій
Configmgr
Структуровану/керовану навігацію ввімкнено на сучасних сторінках класичних сайтів групи
техн
SCCM Не вдалося отримати розташування DP як очікувану версію від MP
Configmgr

Останні дописи

Список колекції запитів диспетчера конфігурацій
Configuration Manager Client Cache Cleanup Script
Configmgr
Install WordPress With Nginx on AlmaLinux 9
Лінійка
How To Install OpenSSL 3 on AlmaLinux 9
Лінійка
Список колекції запитів диспетчера конфігурацій
System Center Configuration Manager Technical Preview Update 1611
Configmgr

© 2023 Ентерин

Перейдіть до мобільної версії
Ласкаво просимо назад!

Увійдіть у свій обліковий запис

Ім'я користувача або адреса електронної пошти
Пароль

Забули пароль?