mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-03-20 10:16:37 +01:00
Update FAQ.md
This commit is contained in:
parent
b3eb89c178
commit
84ae222263
15
Docs/FAQ.md
15
Docs/FAQ.md
@ -52,6 +52,14 @@ NOTE: the group policy object (GPO) settings of your organization might disallow
|
|||||||
6. Automatically on login (see AutoStart folder)/logoff/daily/etc.
|
6. Automatically on login (see AutoStart folder)/logoff/daily/etc.
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details><summary>How to execute PowerShell scripts in Windows context menus?</summary>
|
||||||
|
|
||||||
|
* to enable "right-click > New > Windows PowerShell Script" execute `Add_ps1_to_New_context_menu.reg` in subfolder [Data/](../Data)
|
||||||
|
|
||||||
|
* to disable this execute `Remove_ps1_from_New_context_menu.reg` in subfolder [Data/](../Data)
|
||||||
|
</details>
|
||||||
|
|
||||||
|
|
||||||
<details><summary>How to execute PowerShell Scripts in Jenkins?</summary>
|
<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>
|
||||||
@ -86,13 +94,6 @@ Want to use the PowerShell scripts everywhere on the command-line? Then you need
|
|||||||
* **On Windows:** open Settings > System > About > Advanced system settings > Environment Variables, edit the user's variable "Path", and add the full path to the Scripts/ directory.
|
* **On Windows:** open Settings > System > About > Advanced system settings > Environment Variables, edit the user's variable "Path", and add the full path to the Scripts/ directory.
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details><summary>How to use PowerShell in Windows context menus?</summary>
|
|
||||||
|
|
||||||
* to enable "right-click > New > Windows PowerShell Script" execute `Add_ps1_to_New_context_menu.reg` in subfolder [Data/](../Data)
|
|
||||||
* to disable this execute `Remove_ps1_from_New_context_menu.reg` in subfolder [Data/](../Data)
|
|
||||||
</details>
|
|
||||||
|
|
||||||
|
|
||||||
<details><summary>Which editor to use for PowerShell scripts?</summary>
|
<details><summary>Which editor to use for PowerShell scripts?</summary>
|
||||||
|
|
||||||
* **Visual Studio Code** - Supporting syntax highlighting, on-the-fly problem checking and an integrated PowerShell Console (available for free on Linux, Mac OS and Windows, now recommended by Microsoft).
|
* **Visual Studio Code** - Supporting syntax highlighting, on-the-fly problem checking and an integrated PowerShell Console (available for free on Linux, Mac OS and Windows, now recommended by Microsoft).
|
||||||
|
Loading…
Reference in New Issue
Block a user