Share via


"Begrepet Get-VM gjenkjennes ikke som navnet på en cmdlet ..." feil under installasjon av Cloud Connector Edition

Symptomer

Under en ny installasjon av Cloud Connector Edition mislykkes kjøring av cmdlet-Install-CcInstance, og du får følgende feilmelding:

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

Årsak

Hyper-V-modulen for Windows PowerShell er ikke installert.

Løsning

Hvis du oppgraderte Windows Server Host fra en tidligere versjon til 2012 R2 eller du fjernet denne Hyper-V-funksjonen, må du installere Hyper-V-modulen for Windows PowerShell i Administrasjonsverktøy for Hyper-V under Funksjoner.

Mer informasjon

Trenger du fremdeles hjelp? Gå til Microsoft Community.