title: How can I enable EnhancedSessionTransportType on a HyperV VM using powershell?
body: <p>I am trying to use the command:</p>
  
  <p><code>
  Set-VM -VMName "Ubuntu 18.04.1 LTS" -EnhancedSessionTransportType HvSocket;
  </code></p>
  
  <p>As per the <a href="https://blogs.technet.microsoft.com/virtualization/2018/02/28/sneak-peek-taking-a-spin-with-enhanced-linux-vms/" rel="noreferrer">following article</a></p>
  
  <p>But I just get "Set-VM : A parameter cannot be found that matches parameter name 'EnhancedSessionTransportType'"</p>
  
  <p>It seems that this <a href="https://docs.microsoft.com/en-us/powershell/module/hyper-v/set-vm?view=win10-ps" rel="noreferrer">parameter is not available</a> but all the guides I find still use it!</p>