To work with certificates in PowerShell, you can use the Certificate module.  Here are some common tasks you can perform with certificates using PowerShell:  List all certificates in the local machine store:  Get-ChildItem -Path "Cert:\\LocalMachine\\My"  Get the properties of a specific certificate:  Get-ChildItem -Path "Cert:\\LocalMachine\\My\ humbprint" | Select-Object *  Export a certificate:  $cert = Get-ChildItem -Path "Cert:\\LocalMachine\\My\ humbprint"  Export-Certificate -Cert $cert -FilePath C:\\path\ o\\certificate.cer  Import a certificate:  Import-Certificate -FilePath C:\\path\ o\\certificate.cer -CertStoreLocation Cert:\\LocalMachine\\My  Remove a certificate:  $cert = Get-ChildItem -Path "Cert:\\LocalMachine\\My\ humbprint"
Remove-Item -Path $cert.PSPath  You can find more information about the Certificate module and its cmdlets in the PowerShell documentation or by using the Get-Help cmdlet. For example:  Get-Help Export-Certificate