About 52 results
Open links in new tab
  1. How to run powershell script from .ps1 file? - Stack Overflow

    Oct 23, 2019 · I'm trying to automate the execution of a simple PS script (to delete a certain .txt file). Obviously, I'm new to powershell :) When I run the code in shell, it works flawless. But when i save …

  2. windows - How to run a PowerShell script - Stack Overflow

    How do I run a PowerShell script? I have a script named myscript.ps1 I have all the necessary frameworks installed I set that execution policy thing I have followed the instructions on this MSDN help

  3. PS1 line with Git current branch and colors - Stack Overflow

    Nov 9, 2010 · PS1 line with Git current branch and colors Asked 15 years, 5 months ago Modified 2 years, 3 months ago Viewed 119k times

  4. VSC PowerShell. After npm updating packages .ps1 cannot be loaded ...

    Aug 27, 2019 · After setting the policy, go back to your project directory and run: npm install express Additional Tip If you only want to bypass the execution policy temporarily, you can use this …

  5. Is there a way to make a PowerShell script work by double clicking a ...

    11 You may set the default file association of ps1 files to be powershell.exe which will allow you to execute a powershell script by double clicking on it. In Windows 10, Right click on a ps1 file Click …

  6. Call PowerShell script PS1 from another PS1 script inside Powershell ...

    I want call execution for a myScript1.ps1 script inside a second myScript2.ps1 script inside Powershell ISE. The following code inside MyScript2.ps1, works fine from Powershell Administration, but...

  7. powershell выполнение сценариев отключено в этой системе

    Jan 22, 2019 · D:\SCRIPTS\sc.ps1 - переходим в папку с скриптом и нажимаем правой мышкой кнопки Выбираем выполнить с помощью PowerShell - появится консоль Я выбрал наивысший …

  8. Powershell ps1 file "is not recognized as a cmdlet, function, operable ...

    Powershell ps1 file "is not recognized as a cmdlet, function, operable program, or script file." Asked 17 years ago Modified 2 years, 6 months ago Viewed 120k times

  9. Why are my PowerShell scripts not running? - Stack Overflow

    Aug 14, 2008 · You have to make a shortcut containing the command powershell -executionpolicy bypass -File C:\Users\david\Desktop\test.ps1 . The command test.ps1 is then run even when the …

  10. ps1 cannot be loaded because running scripts is disabled on this system

    May 30, 2017 · ps1 cannot be loaded because running scripts is disabled on this system Asked 9 years, 4 months ago Modified 11 months ago Viewed 1.0m times