1,543 questions
I ended up making two bat files in the same folder.
One stops the service and one starts. Simple enough.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I see that most posts use examples of executionpolicy unrestricted -force and then point to a ps.1
I have a PowerShell script I want to run but I'm wondering if I can put the bypass right in the script I'm trying to run. Such as:
I am wishing not to have one script invoke another, but have it all in one script. Or how would I add this to a batch file if needed?
I ended up making two bat files in the same folder.
One stops the service and one starts. Simple enough.