PrimalScript includes the ability to digitally sign VBScript, JScript, WSF, and Windows PowerShell scripts, provided you have installed a valid code-signing certificate on your computer. The certificate should be installed to the default personal store. First, you need to configure PrimalScript with the name of the certificate.
To configure PrimalScript to sign scripts
1.Select File > Options > Script Settings > Script Signing:
2.Leave the Certificate field blank to sign with the first available certificate in your personal store, or select a certificate on your machine.
3.Select OK to save.
Select Automatically sign scripts when saving to have PrimalScript automatically sign all scripts when those scripts are saved.
Different certificate settings are available for Windows PowerShell and Windows Script Host (VBScript and JScript).
See also:
Windows Script Host TrustPolicy Settings