Clone of github.com/microsoft/linux-vm-tools.
The original repository is archived, forking it here just in case the original is deleted.
See this StackOverflow answer for more info.
in a terminal execute:
wget https://raw.githubusercontent.com/ruizpauker/linux-vm-tools/master/ubuntu/18.04/install.sh
sudo chmod +x install.sh
sudo ./install.sh
In a Powershell console, execute:
Set-VM -VMName <your_vm_name> -EnhancedSessionTransportType HvSocket