Skip to content

Instantly share code, notes, and snippets.

@jeremy-jameson
Last active December 6, 2019 12:48
Show Gist options
  • Save jeremy-jameson/c87825a5f6c3273f500f9e0407c55d07 to your computer and use it in GitHub Desktop.
Save jeremy-jameson/c87825a5f6c3273f500f9e0407c55d07 to your computer and use it in GitHub Desktop.
Sign PowerShell profile

# Sign PowerShell profile

$cert = Get-ChildItem Cert:\CurrentUser\My -CodeSigningCert

Set-AuthenticodeSignature -FilePath $PROFILE -Certificate $cert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment