The ILOVEYOU virus in the year 2000 gave Windows Script Host a bad rep because it simply executed every script you double clicked on. Now, mind you, I personally think that was much more the fault of the email clients that indiscriminately executed every attachment without hesitating and the users who where too infatuated with […]
Tag: ExecutionPolicy
Sign PowerShell Scripts
If you’ve been to any of my PowerShell sessions or classes you know I often recommend using an AllSigned execution policy for your production servers. Assuming you’ve gone ahead and installed a code signing certificate on your desktop, how do you go about signing all your scripts. Here’s how you might sign all your scripts in a given directory.