i hate microsoft so much
microsoft released a thing called powershell. which is pretty cool. cause the dos cmd shell is a dinosaur. anywho, we use powershell at work to run scripts to build some parts of our products. which is pretty cool. except for one small thing. when you first install windows, powershell won't run any scripts. under normal circumstances i'd call that fucking brilliant. and call that sarcasm. in fact i did. then i discovered it gets worse. much worse. i hate microsoft so much. okay, so a little googling shows the magic incantation. launch powershell and type: Set-ExceptionPolicy Unrestricted. fails. launch powershell as administrator. success! sorta. the work scripts still won't run. exact same error. i hate microsoft so much. go watch the superbowl. this represents how much time i wasted before google answered my prayer. no really. go do something fun for 3 hours. back? good. it turns out there are two (or more) powershells: 32 bit and 64 bit. and this is the fucking brilliant part: they use different registry keys. so you have to pop up the windows menu. type in powershell. windows will give you a list of candidates. right click on each and every one of them. run each as administrator. Set-ExceptionallyStupidPolicy on all all of them. i hate microsoft so much.