Page 1 of 1

Code Signing Module Script Files Automatically

Posted: Fri Aug 04, 2017 9:12 am
by kellydavies
I would like to ask that PowerShell Studio include the feature to automatically update code signing signatures when saving .PSM1 files just as it does with .PS1 files. Our corporate execution policy requires that all PowerShell code be signed in order to execute so editing .PSM1 files is a pain in the neck because you have to remember to save the file as a .PS1 file to get the automatic code signature update and then rename (or resave) the file as a .PSM1 file.

Re: Code Signing Module Script Files Automatically

Posted: Fri Aug 04, 2017 9:33 am
by davidc
Thank you for the feedback.

If you use a module project, PowerShell Studio will automatically sign the psm1 file when you Build / Export the module.