Cannot be loaded because the execution of scripts is disabled on this system.There is a very simple fix for this, all you have to do is ensure that you run your Powershell program as administrator to give it elevated rights and then run the command below:
set-executionpolicy remotesignedThen re-run your Powershell script and you should find that it will now run correctly.
Gear We Recommend
Testing configs is easier with a dedicated admin machine set up right. Here’s the kit we use.
Browse our Windows Admin Toolkit picks on AmazonAs an Amazon Associate, TechyGeeksHome earns from qualifying purchases.
Discover more from TechyGeeksHome
Subscribe to get the latest posts sent to your email.