title: Cannot create Windows docker machine? "Hyper-V PowerShell Module is not available"
body: <p>I just installed docker and tried to create a Windows (not Linux) docker machine but it failed?</p>
  
  <pre><code>PS C:\&gt; docker-machine.exe create --driver hyperv default
  Creating CA: C:\Users\...\.docker\machine\certs\ca.pem
  Creating client certificate: C:\Users\...\.docker\machine\certs\cert.pem
  Running pre-create checks...
  Error with pre-create check: "Hyper-V PowerShell Module is not available"
  </code></pre>
  
  <p>I downloaded the newer version of <code>docker-machine</code> (<a href="https://github.com/docker/machine/releases/tag/v0.15.0" rel="noreferrer">https://github.com/docker/machine/releases/tag/v0.15.0</a>) and a new error occurred.</p>
  
  <pre><code>PS C:\&gt; .\bin\docker-machine-Windows-x86_64.exe create --driver hyperv default
  Running pre-create checks...
  Error with pre-create check: "no External vswitch found. A valid vswitch must be available for this command to run. Check https://docs.docker.com/machine/drivers/hyper-v/"
  </code></pre>