O'Reilly logo

Pro Windows PowerShell by Hristo Deshev

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Signing Scripts

Imagine that one of your duties at work involves performing a tedious manual task every day. One evening, just before you leave work, you get an e-mail from a coworker that reads, "Hey, I created this nice PowerShell script that you can run, and it will automatically do the XYZ task for you."

You are thrilled! You extract the attachment and immediately run the script. Unfortunately, it just spews out an incomprehensible error message and stops. You sigh, send a quick "Your script does not work" message to your coworker and go home.

The next morning, you notice your computer is acting very strange. You dig deeper and find a key logger installed on your machine capturing passwords and sending them who knows where. Adding ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required