|
NAMEhv_kvp_cmd —
manipulates with Hyper-V KVP records
SYNOPSIS
DESCRIPTIONHyper-V provides a mechanism for exchanging data between a host and a virtual machine. Data is presented as key-value pairs (KVP).hv_kvp_cmd utility allows you to read KVP records from
any pools, write to the guest pool and delete from the guest pool.
By default, The options are as follows: EXIT STATUSThehv_kvp_cmd utility exits 0 on success,
and >0 if an error occurs.
EXAMPLESReads all keys from all pools.hv_kvp_cmd Reads KVP with keys is the “VirtualMachineName”, “PhysicalHostNameFullyQualified”. hv_kvp_cmd VirtualMachineName
PhysicalHostNameFullyQualified Reads KVP with key is the “VirtualMachineName” and output this value to the stdout. hv_kvp_cmd -1
VirtualMachineName Writes KVP with the UUID of the virtual machine with the “UUID_VM_from_OS” key in the guest pool. hv_kvp_cmd -w UUID_VM_from_OS `cat
/etc/hostid` Removes key “UUID_VM_from_OS” from the guest pool. hv_kvp_cmd -r
UUID_VM_from_OS
Visit the GSP FreeBSD Man Page Interface. |