$VSManagementService = gwmi -class "Msvm_VirtualSystemManagementService" -namespace "root\virtualization\v2" -computername $HyperVServer$VSManagementService.AddKvpItems($Vm,hoge)
HKLM\SOFTWARE\Microsoft\Virtual Machine\External
HKLM\SOFTWARE\Microsoft\Virtual Machine\Guest
$VSManagementService = gwmi -class "Msvm_VirtualSystemManagementService" -namespace "root\virtualization\v2" -computername $HyperVServer$query = "Associators of {$Vm} Where AssocClass=Msvm_SystemDeviceResultClass=Msvm_KvpExchangeComponent"$Kvp = gwmi -namespace "root\virtualization\v2" -query $query -computername $HyperVServer$Kvp.GuestIntrinsicExchangeItems$Kvp.GuestExchangeItems