Posts Tagged ‘ExecutionPolicy’


Back from TechEd: Is PowerShell more secure than VBScript?

Monday, August 2nd, 2010 by Alex Riedel
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 the message to look at the attachment's extension. Anyway, the Windows Script Host for VBScript and JScript files has a registry setting that allows scripts to run uninhibited or only if they are signed. The default is to run everything, so you better use group…   More »

Sign PowerShell Scripts

Wednesday, July 2nd, 2008 by Jeffery Hicks
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.   More »