title: Import-PFXCertificate: The specified network password is not correct
body: <p>I've got some pretty simple code I'm trying to troubleshoot. The environment is an Azure Windows Server 2012 machine, and I'm logged in as a domain admin running a Powershell console with Administrator privileges.</p>
  
  <p>I'm just trying to Import-PFXCertificate from a known location but it will not accept the network password.</p>
  
  <p>Here's the code.</p>
  
  <pre><code>$SecurePWD = ConvertTo-SecureString -String 'iW@nt2die' -AsPlainText -Force
  Import-PFXCertificate -Password $SecurePWD -CertStoreLocation "Cert:\LocalMachine\Root" -FilePath "C:\Certs\TestCert.pfx"
  </code></pre>
  
  <p>When I run this beautiful block of code, with the password being absolutely correct (I tested by logging in using the password), it greets me with this error:</p>
  
  <pre><code>Import-PFXCertificate : The specified network password is not correct.
  </code></pre>
  
  <p>WHYYYY.</p>
  
  <p>I've tried escaping out the @, but that doesn't do anything. I've tried crying, but the computer is completely unmoved by my tears.</p>