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,…
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.