title: Can't install Azure Module in PowerShell
body: <p>When installing the Azure module:</p>
  <pre><code>PS&gt; Install-Module -Name Az -Scope CurrentUser -Repository PSGallery -Force
  </code></pre>
  <p>I get this error:</p>
  <blockquote>
  <p>PackageManagement\Install-Package : Could not find a part of the path
  'C:\Users\MB\Documents\WindowsPowerShell\Modules\Az.Accounts\1.7.1'.
  At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21</p>
  </blockquote>
  <ul>
  <li>...          $null = PackageManagement\Install-Package @PSBoundParameters</li>
  <li>
  <pre><code>                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  </code></pre>
  <ul>
  <li>CategoryInfo          : NotSpecified: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exce
  ption</li>
  <li>FullyQualifiedErrorId : System.IO.DirectoryNotFoundException,Microsoft.PowerShell.Commands.CopyItemCommand,Micro
  soft.PowerShell.PackageManagement.Cmdlets.InstallPackage</li>
  </ul>
  </li>
  </ul>