I need to sign ps1 files, but I don't want to have go to a windows machine just to sign a script. Is it possible to modify this program to also sign ps1 files?
A signed ps1 file would just have the signature appended to the end of the script:
# SIG # Begin signature block
# thesignaturewouldgohere
# ...
# SIG # End signature block
I need to sign ps1 files, but I don't want to have go to a windows machine just to sign a script. Is it possible to modify this program to also sign ps1 files?
A signed ps1 file would just have the signature appended to the end of the script: