title: Unable to script installation of NuGet Package Provider in Powershell
body: <p>I am trying to install the NuGet Package Provider using this command.</p>
  
  <pre><code>Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
  </code></pre>
  
  <p>I've also tried adding the <code>-Confirm:$false</code> flag. I continue to be prompted for confirmation.</p>
  
  <p>For example,</p>
  
  <pre><code>NuGet provider is required to continue
  PowerShellGet requires NuGet provider version '2.8.5.201' or newer to 
  interact with NuGet-based repositories. The NuGet
  provider must be available in 'C:\Program 
  Files\PackageManagement\ProviderAssemblies' or
  'C:\Users\Booker\AppData\Local\PackageManagement\ProviderAssemblies'. You 
  can also install the NuGet provider by
  running 'Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -
  Force'. Do you want PowerShellGet to install
  and import the NuGet provider now?
  [Y] Yes  [N] No  [S] Suspend  [?] Help (default is "Y"):
  </code></pre>
  
  <p>I want to complete this installation in a script. How can I bypass the confirmation prompt?</p>