This project is read-only.

Using InvokePowerShellCommand with a signed script

Jul 30, 2013 at 5:45 PM
I was trying to use the InvokePowerShellCommand with a signed powershell script. The certificate is installed on the build machine alread. I get the following exception:

Exception Message: [scriptname.ps1] cannot be loaded. The contents of file [scriptname.ps1] may have been tampered because the hash of the file does not match the hash stored in the digital signature. The script will not execute on the system. Please see "get-help about_signing" for more details.. (type UnauthorizedAccessException)

Any suggestions on how to proceed?

Oct 16, 2013 at 8:05 PM
Not sure. did you take a look at get-help about_signing? Have you resolved this?