Write-GuestKVP

Adds, updates or removes a KVP from the guest side. This is cross-platform but, since the settings are machine-wide, it needs “root rights” on each platform, i.e. sudo on Linux or elevated shell on Windows.

Add a KVP to be transmitted to the host, or update an existing KVP with a new value:

Write-GuestKVP
    -Name
    -Value
    [-Force]

Remove a KVP:

Write-GuestKVP
    -Name
    -Value
    [-Force]