Wie kann ich die Hyper-V Cmdlets in Windows 10 installieren?
PS C:\WINDOWS\system32> Microsoft.HyperV.PowerShell\Get-VM -Name "Ubuntu"
Microsoft.HyperV.PowerShell\Get-VM : Das Modul "Microsoft.HyperV.PowerShell" konnte nicht geladen werden. Wenn Sie
weitere Informationen wünschen, führen Sie "Import-Module Microsoft.HyperV.PowerShell" aus.
In Zeile:1 Zeichen:1
+ Microsoft.HyperV.PowerShell\Get-VM -Name "Ubuntu"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Microsoft.HyperV.PowerShell\Get-VM:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CouldNotAutoLoadModule
PS C:\WINDOWS\system32> Import-Module Microsoft.HyperV.PowerShell
Import-Module : Das angegebene Modul "Microsoft.HyperV.PowerShell" wurde nicht geladen, da in keinem Modulverzeichnis
eine gültige Moduldatei gefunden wurde.
In Zeile:1 Zeichen:1
+ Import-Module Microsoft.HyperV.PowerShell
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (Microsoft.HyperV.PowerShell:String) [Import-Module], FileNotFoundE
xception
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
PS C:\WINDOWS\system32> Install-Module Microsoft.HyperV.PowerShell
PackageManagement\Install-Package : No match was found for the specified search criteria and module name
'Microsoft.HyperV.PowerShell'. Try Get-PSRepository to see all available registered module repositories.
In C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:9711 Zeichen:34
+ ... talledPackages = PackageManagement\Install-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Ex
ception
+ FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage