mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-15 12:34:25 +01:00
Update FAQ.md
This commit is contained in:
parent
370a21101f
commit
98419e68d7
@ -63,7 +63,8 @@ NOTE: the group policy object (GPO) settings of your organization might disallow
|
||||
|
||||
|
||||
<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.
|
||||
|
||||
**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>
|
||||
@ -75,17 +76,17 @@ NOTE: the group policy object (GPO) settings of your organization might disallow
|
||||
|
||||
<details><summary>Why do some scripts show gibberish characters?</summary>
|
||||
|
||||
Those PowerShell scripts are using Unicode characters. Use a modern console supporting UTF-8 such as *Windows Terminal*, please.
|
||||
**Those PowerShell scripts are using Unicode characters. Use a modern console supporting UTF-8 such as *Windows Terminal*, please.**
|
||||
</details>
|
||||
|
||||
<details><summary>How to set PowerShell as favorite shell on Linux?</summary>
|
||||
|
||||
Make sure PowerShell is installed, then execute: `chsh -s /usr/bin/pwsh USERNAME`. In case you experience an "invalid shell" error, add "/usr/bin/pwsh" to /etc/shells.
|
||||
**Make sure PowerShell is installed, then execute: `chsh -s /usr/bin/pwsh USERNAME`. In case you experience an "invalid shell" error, add "/usr/bin/pwsh" to /etc/shells.**
|
||||
</details>
|
||||
|
||||
<details><summary>How to install a custom PowerShell profile?</summary>
|
||||
|
||||
Execute: `./set-profile.ps1` in the *Scripts* subfolder, this will install **my-profile.ps1** as your PowerShell profile. It's a nice looking base profile, but can easily be changed to your needs.
|
||||
**Execute: `./set-profile.ps1` in the *Scripts* subfolder, this will install **my-profile.ps1** as your PowerShell profile. It's a nice looking base profile, but can easily be changed to your needs.**
|
||||
</details>
|
||||
|
||||
<details><summary>How to add the scripts to the search path?</summary>
|
||||
|
Loading…
Reference in New Issue
Block a user