Project

PSPublishModule

PSPublishModule is an open-source PowerShell and .NET project with packages, release history, and technical documentation.

Stars47
Forks16
Open issues0
PowerShell Gallery downloads17213
Releasev3.0.131
Language: C# Updated: 2026-09-02T21:02:59.0000000+00:00

Curated Examples

Step03.Preparevariablesforgithubactions

Source-owned example maintained with PSPublishModule.

# this command allows you to copy the certificate to clipboard, to be put as GitHub Action Secret Variable
# keep in mind that this certificate needs to have private key included, and be password protected to be used for signing
$pfxCertFilePath = "C:\Support\Important\EvotecSignGitHubCertificate.pfx"
$pfxContent = [System.IO.File]::ReadAllBytes($pfxCertFilePath)
$BasePfx = [System.Convert]::ToBase64String($pfxContent)
$BasePfx | Set-Clipboard