我正在尝试添加Hyper-V主机以移动以迁移VM。
但是添加主机后,VM库存没有加载(显示0 VM)。当我尝试刷新时,我会遇到以下错误:
无法获得源头库存''。[apiname =“ get vm”,hypervisorerr =“ [cmd =“ get-vm |)select -object -expandproperty dvddrives |选择ControllerType,ControllerNumber,ControllerLocation,Path,supportSistEntEnservations,vMname,VMID |convertto -json -compress |Out-File -FilePath C:\Users\xtract\AppData\Local\Temp\executeCmd385362813\Ouput.json", ErrorMsg="exit status 1", Location="/root/workspace/xtract_vm_qcow2_builder_prod/go/src/hypervisor/hyperv/hyperv_agent/utils.go:96“,stderr =”#可操作程序的名称。检查名称的拼写,或者如果包括路径,请验证路径_x000d__x000a _ 是正确的。:1 char:1_x000d__x000a _ + get-vm |select -object -expandproperty dvddrives |选择Controllert ..._ X000D__X000A _ + ~~~~~~~~~~~~ _x000d__x000a _ + categoryInfo:objectornotfo:(get-vm:string)[get-vm:string)[] [] [], CommandNotFoundException_x000D__x000A_ + FullyQualifiedErrorId : CommandNotFoundException_x000D__x000A_ _x000D__x000A_"] Powershell command failed on HyperV machine. (error=0x8008)", Location="/hermes/go/src/hypervisor/hyperv/hyperv_agent_impl.go:1309"] Failed to execute Hyper-V API. (error=0x8001)
最好的答案阿吉什
\u00a0<\/p>
Thank you.<\/p>","className":"post__content__best_answer"}">