You may wonder what that title is about, so let me pause to explain things a little. One of the Integration Components that gets installed inside the virtual machine with Hyper-V is the "KVP" component – which stands for "Key Value Pair". This is the component that enables the exchange of basic string data between the parent and child environments. The KVP data is then broken down into three categories:
- This is information being sent from the parent partition to the guest operating system.
- This is information being sent from the guest operating system to the parent partition.
- This is information that is automatically sent from the guest operating system to the parent partition.
Today I want to show you how to get the information from the last category and display it in the parent partition. The biggest challenge with doing this is handling the fact that this data is returned as an XML blob that you need to parse correctly to display the results.
This should provide you with output like this: