Update FAQ.md

This commit is contained in:
Markus Fleschutz 2022-09-16 09:12:31 +02:00 committed by GitHub
parent 66bccad7e1
commit 769074fa51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ Why use PowerShell?
How to get PowerShell?
----------------------
* **On Windows** PowerShell is preinstalled. **However,** the default execution policy is "restricted", meaning script execution is disallowed! To change this, open the *Windows PowerShell (Administrator)* console and enter:
* **On Windows** PowerShell is preinstalled. **However,** the default execution policy is "restricted" which disallows the execution of scripts! To change this, open the *Windows PowerShell (Administrator)* console and enter:
```
PS> Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser
```
@ -39,6 +39,16 @@ How to get the PowerShell Scripts?
* **Otherwise,** download and unzip it from: https://github.com/fleschutz/PowerShell/archive/master.zip
How can I execute the PowerShell Scripts?
-----------------------------------------
1. In the Windows desktop by double-clicking the script.
2. In a command-line interface (CLI, e.g. *Windows Terminal*, either local or remote via SSH) by typing: `./NAME_OF_SCRIPT`.
3. By connecting a context menu item with a script.
4. By voice control, e.g. see repo [talk2windows](https://github.com/fleschutz/talk2windows) for more information.
5. By using automation software, e.g. [Jenkins](https://www.jenkins.io).
6. Automatically on login/logoff/daily/etc.
What about Security?
--------------------
* Execute scripts only that you trust (and/or where you have checked the code before)!