From 0b420615de509c7d69297c48ffae5c33ff549590 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 10 May 2023 13:00:28 +0200 Subject: [PATCH] Update FAQ.md --- Docs/FAQ.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Docs/FAQ.md b/Docs/FAQ.md index 15e6305a..be701d09 100644 --- a/Docs/FAQ.md +++ b/Docs/FAQ.md @@ -8,6 +8,7 @@ PowerShell FAQ
Why use PowerShell? + ✔️ It's **powerful** - fully control your computer ✔️ It's **easy to learn** - see the tutorial at: https://www.guru99.com/powershell-tutorial.html @@ -19,8 +20,9 @@ PowerShell FAQ ✔️ It's **fully documented** - see the PowerShell documentation at: https://docs.microsoft.com/en-us/powershell/
-How to install PowerShell? --------------------------- +
+ How to install PowerShell? + ▶️ **On Windows** it's preinstalled, **but** the script execution policy is *restricted* (forbidden) by default! To change this: open the *Windows PowerShell (Administrator)* console and enter: ``` PS> Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser @@ -34,13 +36,14 @@ NOTE: the group policy object (GPO) settings of your organization might disallow $ snap install PowerShell $ ln -s /snap/bin/pwsh /usr/bin/pwsh ``` +
-How to get the PowerShell Scripts? ----------------------------------- +
+ How to get the PowerShell Scripts? * When using **Git**, execute in a terminal window: `> git clone https://github.com/fleschutz/PowerShell` * When using **Chocolatey**, execute in *Windows PowerShell (Administrator)*: `> choco install powershell-scripts --version=0.4` * **Otherwise,** download and unzip it from: https://github.com/fleschutz/PowerShell/archive/master.zip - +
How to execute PowerShell Scripts? ----------------------------------