GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HV_KVP_CMD(1) FreeBSD General Commands Manual HV_KVP_CMD(1)

hv_kvp_cmd
manipulates with Hyper-V KVP records

hv_kvp_cmd [-vq1wr] [-d char] [key value | keys]

Hyper-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, hv_kvp_cmd read all or listed keys from all pools.

The options are as follows:

Verbose mode.
Quote keys and values.
Read the KVP and print the keyless value.
Writes pairs key value to a guest pool. There may be several pairs.
Removes the listed keys from the guest pool.
char
Uses char as the delimiter between key and his value instead of the equal character.

The hv_kvp_cmd utility exits 0 on success, and >0 if an error occurs.

Reads 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
March 8, 2021 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.