title: Delete the Current User Certificate for all Users
body: <p>The code below is what I have been using to remove certificates from the current users store:</p>
  
  <pre><code>#Delete Certificates
  $certs = Get-ChildItem cert:\CurrentUser\My | where { $_.IssuerName.Name -like '*CN=Issuer*' }
  foreach ($cert in $certs) {
      $store = Get-Item $cert.PSParentPath -Force
      $store.Open('ReadWrite')
      $store.Remove($cert)
      $store.Close()
  }
  </code></pre>
  
  <p>I am wondering if there is a way to modify this code to where it will delete this certificate on all of the user accounts on the machine. For example if I run it on User1 it will delete the certificate on User1 and User2. I have researched this, but have not been able to find anything on it regarding accessing other users certificate stores. Any help is appreciated. Please let me know if you need anymore information.  </p>