PowerShell: Cannot Be Loaded Because Running Scripts is Disabled
Mar24

PowerShell: Cannot Be Loaded Because Running Scripts is Disabled

KB ID 0001417 Problem If you’ve arrived here, you are trying to run a script, and you cant; PS C:\Users\{User-name}> .\{script-name}.ps1 .\{script-name} : File C:\Users\{User-name}\{script-name} cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:1 + .\{script-name} + ~~~~~~~~~~~~~~~~~~ +...

Read More
Cisco AnyConnect – Running ‘Logon Scripts / OnConnection Scripts’
Oct18

Cisco AnyConnect – Running ‘Logon Scripts / OnConnection Scripts’

KB ID 0001353 Problem I’ve seen this asked a lot in forums, and it came up on EE again today. I’ve never had to set this up in the past, but I’ve posted the links to the correct Cisco articles when people have asked.  After the question was asked again today, I thought I’d take the time to write a decent article on how to do it. Why would you want to do this? You might want to map/reconnect a mapped drive, or...

Read More