Skip to content

Instantly share code, notes, and snippets.

View jformacek's full-sized avatar

Jiri Formacek jformacek

View GitHub Profile
@jborean93
jborean93 / PSGet Publisher Checks.md
Last active September 5, 2025 04:26
Behaviour of signed PowerShell scripts

PSGet Code Signing

This is to try and document the behaviour around PowerShellGet/PSResourceGet code signing publisher behaviour.

Setup

The following code can be used to set up this scenario. This must be run as an administrator in Windows PowerShell.

Note: PowerShell uses implicit remoting for the New-SelfSignedCertificate which breaks the constains serialization. You must run this on Windows PowerShell.