title: Powershell Script to install trusted publisher certificates
body: <p>I use powershell app deployment tool kit and I have a script to install a few MSI's. For one of the MSI's, I have a certificate (<code>cert.cer</code>) that I need to install on each machine's trusted publisher.</p>
  <p>After doing some digging, I came up with this:</p>
  <p><code>certutil.exe -addstore TrustedPublisher cert.cer</code>
  <code>certutil.exe -addstore root cert.cer</code></p>
  <p>This does not work, no errors, I am just still being prompted to have to accept an install from a non trusted publisher.</p>