mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-01 03:36:28 +02:00
Update FAQ.md
This commit is contained in:
parent
1c1fc04bce
commit
08396e825a
28
Docs/FAQ.md
28
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/
|
✔️ **It's fully documented** - see the PowerShell documentation at: https://docs.microsoft.com/en-us/powershell/
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details><summary>How to install PowerShell?</summary>
|
<details><summary>How to install PowerShell on Linux?</summary>
|
||||||
|
|
||||||
▶️ **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:
|
1. On Linux with Snap support just execute:
|
||||||
```
|
|
||||||
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:
|
|
||||||
```
|
```
|
||||||
$ snap install PowerShell
|
$ snap install PowerShell
|
||||||
$ ln -s /snap/bin/pwsh /usr/bin/pwsh
|
$ 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.
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>How to install PowerShell on MacOS?</summary>
|
||||||
|
|
||||||
|
Visit https://github.com/PowerShell/PowerShell for installation.
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>How to install PowerShell on Windows?</summary>
|
||||||
|
|
||||||
|
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.
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details><summary>How to get the PowerShell scripts?</summary>
|
<details><summary>How to get the PowerShell scripts?</summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user