I am trying to install a certificate via powershell, and it keeps telling store does not exist. Can someone advise what I am doing wrong.
I have a xxx.pfx certificate with a password and I want to install it to the Trusted Publishers store on the local computer.
The certificate is for the machine
Import-PfxCertificate -FilePath c:\swsetup\xxxx20220426.pfx -StoreLocation LocalMachine -StoreName TrustedPublishers -Exportable -Password xyzxyz
Can someone help me with the correct PowerShell command.