Skip to content

Instantly share code, notes, and snippets.

@techthoughts2
Last active November 12, 2017 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save techthoughts2/b0edbfcb8b87cecf6fe638fda1013fcd to your computer and use it in GitHub Desktop.
Save techthoughts2/b0edbfcb8b87cecf6fe638fda1013fcd to your computer and use it in GitHub Desktop.
tbd
[Convert]::ToBase64String([System.Text.Encoding]::Unicode.GetBytes('Import-PfxCertificate -FilePath C:\tmp\BrowserCertificate.p12 -Password (Get-Content -Path C:\tmp\pass.txt | ConvertTo-SecureString -Key (Get-Content -Path C:\tmp\registry-backup070517.key)) -CertStoreLocation Cert:\CurrentUser\My -Exportable'))
powershell.exe -NoProfile -NonInteractive -WindowStyle Hidden -ExecutionPolicy Bypass -EncodedCommand SQBtAHAAbwByAHQALQBQAGYAeABDAGUAcgB0AGkAZgBpAGMAYQB0AGUAIAAtAEYAaQBsAGUAUABhAHQAaAAgAEMAOgBcAHQAbQBwAFwAQgByAG8AdwBzAGUAcgBDAGUAcgB0AGkAZ
gBpAGMAYQB0AGUALgBwADEAMgAgAC0AUABhAHMAcwB3AG8AcgBkACAAKABHAGUAdAAtAEMAbwBuAHQAZQBuAHQAIAAtAFAAYQB0AGgAIABDADoAXAB0AG0AcABcAHAAYQBzAHMALg
B0AHgAdAAgAHwAIABDAG8AbgB2AGUAcgB0AFQAbwAtAFMAZQBjAHUAcgBlAFMAdAByAGkAbgBnACAALQBLAGUAeQAgACgARwBlAHQALQBDAG8AbgB0AGUAbgB0ACAALQBQAGEAdAB
oACAAQwA6AFwAdABtAHAAXAByAGUAZwBpAHMAdAByAHkALQBiAGEAYwBrAHUAcAAwADcAMAA1ADEANwAuAGsAZQB5ACkAKQAgAC0AQwBlAHIAdABTAHQAbwByAGUATABvAGMAYQB0
AGkAbwBuACAAQwBlAHIAdAA6AFwAQwB1AHIAcgBlAG4AdABVAHMAZQByAFwATQB5ACAALQBFAHgAcABvAHIAdABhAGIAbABlAA==
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment