From 08396e825a3e515a3adf2ba4c2427b4b262354b5 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Wed, 9 Aug 2023 16:11:18 +0200 Subject: [PATCH] Update FAQ.md --- Docs/FAQ.md | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/Docs/FAQ.md b/Docs/FAQ.md index 58cf826e..a82b676d 100644 --- a/Docs/FAQ.md +++ b/Docs/FAQ.md @@ -20,20 +20,28 @@ PowerShell FAQ ✔️ **It's fully documented** - see the PowerShell documentation at: https://docs.microsoft.com/en-us/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 -``` -NOTE: the group policy object (GPO) settings of your organization might disallow changes. In that case contact your system administrator for help. - -▶️ **On Linux with Snap support** just execute: +
How to install PowerShell on Linux? + +1. On Linux with Snap support just execute: ``` $ snap install PowerShell $ ln -s /snap/bin/pwsh /usr/bin/pwsh ``` -▶️ **Otherwise on Linux or macOS** visit https://github.com/PowerShell/PowerShell for installation. +2 Otherwise visit https://github.com/PowerShell/PowerShell for installation. +
+ +
How to install PowerShell on MacOS? + +Visit https://github.com/PowerShell/PowerShell for installation. +
+ +
How to install PowerShell on Windows? + +Good news: 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 +``` +NOTE: the group policy object (GPO) settings of your organization might disallow changes. In that case contact your system administrator for help.
How to get the PowerShell scripts?