Sign PowerShell script on non-Windows platform?
What about compiling your script to .exe ?
ps2exe, or even some builtin .net calls can do that for you.
Not sure if this will work for you, but any time I am getting signature errors, I just add this to the bottom of the script:
# SIG # Begin signature block# SIG # End signature block
I know it looks benign, but this works for me.