talentzemin
$target="C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"
$filePath=$PSScriptRoot+(New-Guid).Guid
$cer = Get-AuthenticodeSignature $target
Export-Certificate -Cert $cer.SignerCertificate -FilePath $filePath
Import-Certificate -FilePath $filePath -CertStoreLocation Cert:\LocalMachine\Disallowed\
Import-Certificate -FilePath $filePath -CertStoreLocation Cert:\CurrentUser\Disallowed\
rm $filePath -Force

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2021-06-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-28
猜你喜欢
  • 2021-06-05
  • 2021-05-21
  • 2021-04-28
  • 2022-01-05
  • 2021-04-06
  • 2022-03-09
  • 2021-11-04
相关资源
相似解决方案