"Термин Get-VM не распознается как имя командлета ..." ошибка во время установки Cloud Connector Edition
Симптомы
Во время новой установки Cloud Connector Edition выполнение командлета Install-CcInstance сбоем, и вы получите следующее сообщение об ошибке:
Get-VM : The term 'Get-VM' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\Program Files\WindowsPowerShell\Modules\CloudConnector\Internal\MtCommon.ps1:1824 char:9
+ Get-VM | ForEach-Object {
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (Get-VM:String) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CommandNotFoundException
Причина
Модуль Hyper-V для Windows PowerShell не установлен.
Разрешение
Если вы обновили узел Windows Server с предыдущей версии до 2012 R2 или удалили эту функцию Hyper-V, необходимо установить модуль Hyper-V для Windows PowerShell в средствах управления Hyper-V в разделе "Компоненты".
Дополнительная информация
Требуется дополнительная помощь? Зайдите на сайт сообщества Майкрософт.