Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Set-AuthenticodeSignature and Remote

$
0
0

I have a simple script that sits on Machine1.  The script pulls a certificate from the CurrentUser\My store for codesigning and passes it to the Set-AuthenticodeSignature command.   If I execute that script on Machine1 everything executes just fine.  It signs the target files with the correct certificate.

However if I log into Machine2 and create a New-PSSession with valid network credentials and try to execute that same script the Set-AuthenticodeSignature returns a status of "UnknownError"  Is there anything specific about using Set-AuthenticodeSignature that would not work calling it remote?

Any help would be appreciated.

--Brian


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>