This tutorial is about PowerShell and running script to disable some Services in Windows.
The Windows PowerShell execution policy allows your scripts to run on your computer.
If you want to see the Windows PowerShell execution policy, use the Get-ExecutionPolicy command.
To change the Windows PowerShell execution policy on your computer, use the Set-ExecutionPolicy command.
You can see all of the execution policies that affect the current session by using the Get-ExecutionPolicy -List command.
To run my script needs to have a command shell administrator rights and select a policy that allows running the script ( example: Unrestricted).

After running the script the output is this:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.