So I wanted to get started with writing a powershell script. I wanted to start small and simply write a script that substiutes a local file folder as a drive. Pretty simple. I've done it before using the old DOS command tools.
So the script I wanted to write is:
subst d: G:\CER
Ok, so I try to execute the script in the Powershell ISE by pressing the 'Play' button (i.e. F5)
So what do I get?
File G:\CER\Make_Stage.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details. At line:0 char:0
How stupid is this, that out of the box execution of powershell scripts are disabled! i.e. By default! Simply incredible that by default this new tool simply does not work. Powershell has to be the stupidest scripting shell out there.
So apparently I have to register something somewhere (hopefully not with MS). If anyone has an answer as to how to fix this, I'd appreciate it.