title: Certificate imported to trusted root is placed under Intermediate CA
body: <p>I try to import certificate in powershell as the following</p>
  
  <pre><code>Import-PfxCertificate -FilePath "$certFolder\$certFile" -CertStoreLocation Cert:\LocalMachine\Root -Password $securedPassword
  </code></pre>
  
  <p>The command run without any errors but the certificate is placed under Intermediate CAs with the information that CA root is not trusted.</p>
  
  <p>When I import the same certificate manually with the option checked "Automatically select the certificate store..." it is placed properly under the Trusted CAs.</p>
  
  <p>What do I miss while importing the certificate automatically?</p>