Update FAQ.md

This commit is contained in:
Markus Fleschutz 2023-05-10 14:21:58 +02:00 committed by GitHub
parent b024043ca2
commit b3eb89c178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ NOTE: the group policy object (GPO) settings of your organization might disallow
* **Otherwise,** download and unzip it from: https://github.com/fleschutz/PowerShell/archive/master.zip
</details>
<details><summary>How to execute PowerShell Scripts?</summary>
<details><summary>How to execute PowerShell scripts in Windows?</summary>
1. In the Windows desktop: right-click the script and select: *Execute with PowerShell*
2. In a command-line interface (CLI, e.g. *Windows Terminal*, either local or remote via SSH) by typing: `./<FILENAME_OF_SCRIPT>`.
@ -52,6 +52,10 @@ NOTE: the group policy object (GPO) settings of your organization might disallow
6. Automatically on login (see AutoStart folder)/logoff/daily/etc.
</details>
<details><summary>How to execute PowerShell Scripts in Jenkins?</summary>
Install the 'PowerShell plugin', it allows Jenkins to invoke PowerShell as build scripts. It uses PowerShell.exe on Windows and pwsh on Linux.
</details>
<details><summary>What about Security?</summary>
* Execute scripts only that you trust (and/or where you have checked the code before)!