diff --git a/Docs/FAQ.md b/Docs/FAQ.md index 056eed41..cf95876f 100644 --- a/Docs/FAQ.md +++ b/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. +
How to execute PowerShell scripts in Windows context menus? + +* 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) +
+ +
How to execute PowerShell Scripts in Jenkins? Install the 'PowerShell plugin', it allows Jenkins to invoke PowerShell as build scripts. It uses PowerShell.exe on Windows and pwsh on Linux.
@@ -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. -
How to use PowerShell in Windows context menus? - -* 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) -
- -
Which editor to use for PowerShell scripts? * **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).