通过使用本网站, 您同意 隐私政策.
接受
进入IT进入IT进入IT
  • 家
  • 信息技术专家
  • 技术
  • 微软
    • 天蓝色
    • 配置管理器/SCCM
    • 数字PM
    • 协调者
    • Hyper-V
    • 微软 Edge 预览体验
    • 微星指数
    • 办公室 365
    • 办公室内幕
    • 电力商业智能
    • Skype
    • SQL服务器
    • 团队
  • 视窗
    • Windows 管理中心
    • Windows客户端
    • Windows服务器
  • SCCM查询集合列表
阅读: 如何在Windows中创建虚拟机 10 使用Hyper-V Manager, Powershell, 并快速创建
字体调整器氨基酸
进入IT进入IT
字体调整器氨基酸
  • 家
  • 信息技术专家
  • 技术
  • 微软
  • 视窗
  • SCCM查询集合列表
搜索
  • 家
  • 信息技术专家
  • 技术
  • 微软
    • 天蓝色
    • 配置管理器/SCCM
    • 数字PM
    • 协调者
    • Hyper-V
    • 微软 Edge 预览体验
    • 微星指数
    • 办公室 365
    • 办公室内幕
    • 电力商业智能
    • Skype
    • SQL服务器
    • 团队
  • 视窗
    • Windows 管理中心
    • Windows客户端
    • Windows服务器
  • SCCM查询集合列表
Hyper-V

如何在Windows中创建虚拟机 10 使用Hyper-V Manager, Powershell, 并快速创建

出版: 二月 4, 2024
4 最小阅读量
分享

如何在Windows中创建虚拟机 10 使用Hyper-V Manager, Powershell, 并快速创建.

内容
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. 选择 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 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 *.异 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, 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. 打开 Hyper-V Quick Create;

2. Select an OS from the list on the left, or install a guest OS from an ISO image file (.异) 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-V微软视窗服务器Powershell视窗视窗 10
上一篇 在Hyper-V Windows中使用VM的操作 10: 管理虚拟机的指南
下一篇 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服务器
配置管理器查询集合列表
配置管理器查询集合列表
configmgr
在经典团队网站的新式页面上启用结构化/托管导航
技术
SCCM 无法从 MP 获取预期版本的 DP 位置
configmgr

最近的帖子

如何安装 OpenSSL 3 在AlmaLinux上 9
Linux
配置管理器查询集合列表
System Center Configuration Manager 技术预览版更新 1611
configmgr
在 Ubuntu 上安装和配置 Fail2ban 以实现 SSH 保护 24.04
Linux
如何在Linux中检查时区
Linux

© 2023 进入IT

转到移动版本
欢迎回来!

登录您的帐户

用户名或电子邮件地址
密码

丢失密码?