为什么Windows 10中有两个Hyper-V PowerShell模块

系统 Windows 系统运维
如果你在Windows 10中安装了Hyper-V,并用PowerShell的Get-Module去查看Hyper-V模块的话,会发现有两个版本的Hyper-V PowerShell模块。微软是基于哪些原因来这么做呢?

       【引自Winclient的博客】如果你在 Windows 10 中安装了 Hyper-V,并用 PowerShell 的 Get-Module 去查看 Hyper-V 模块的话,会发现有两个版本的 Hyper-V PowerShell 模块。

 

  其实微软这么做主要有如下两个原因:

  ◆微软从来未支持过使用一个版本的 Hyper-V PowerShell 去管理远程计算机上的 Hyper-V。虽然在现实环境中,我们可能在正常使用,但并未被微软支持和验证。然而,有用户(特别是 IT Pro)是需要使用 Hyper-V PowerShell 来进行跨版本 Hyper-V 主机管理的。 

  ◆为了支持用户的建议,微软从 Windows 10 开始控制 PowerShell Module 以提供跨版本的 Hyper-V 管理兼容。如果你需要通过 Windows 10 远程管理 Windows 8.1 / Windows Server 2012 R2 中的 Hyper-V 实例,需要加载 v1.1 Hyper-V PowerShell module;若需要远程管理 Windows 10 / Windows Server 2016 中的 Hyper-V 实例,需要加载 v2.0 PowerShell module。

注意:当我们在 Windows 10 中直接使用 Hyper-V Cmdlet 时,默认加载的是 v2.0 版本。当然大家可以自行切换。

责任编辑:武晓燕 来源: Winclient博客
相关推荐

2011-05-31 10:56:43

PowerShell

2012-11-19 09:33:23

Windows 8Hyper-V

2011-11-21 10:27:43

虚拟化PowerShellHyper-V

2012-03-14 15:48:58

Windows Ser概述

2011-09-14 09:05:52

Windows 8Hyper-V

2013-11-20 14:46:43

PowerShellPowerShell Windows Ser

2010-12-29 10:55:51

Hyper-V

2011-04-12 13:29:33

Windows SerHyper-V

2012-12-27 11:02:56

VMware WorkWin Server Hyper-V

2009-06-30 18:05:12

Hyper-VVBScriptPowerShell

2013-11-20 14:41:08

PowerShellPowerShell Windows Ser

2013-01-09 14:32:29

Hyper-V

2012-05-23 11:13:57

2013-01-17 11:00:46

2010-06-30 11:10:26

2010-04-19 23:13:22

Windows Ser

2012-05-14 11:20:13

Hyper-VPowerShell

2014-06-24 10:41:46

2011-03-28 09:45:17

Hyper-V

2013-05-03 14:44:12

Windows SerHyper-VVMware
点赞
收藏

51CTO技术栈公众号