About 50 results
Open links in new tab
  1. How do you run a SQL Server query from PowerShell?

    Dec 7, 2011 · 13 There isn't a built-in "PowerShell" way of running a SQL query. If you have the SQL Server tools installed, you'll get an Invoke-SqlCmd cmdlet. Because PowerShell is built …

  2. python - 'virtualenv' won't activate on Windows - Stack Overflow

    1 Search PowerShell Right click on Windows PowerShell and Run as administrator. Put below command and hit enter. Set-ExecutionPolicy Unrestricted -Force Restart you system and try to …

  3. Execute Powershell script from Node.js - Stack Overflow

    Apr 16, 2012 · 64 I've been looking around the web and on Stackoverflow but hadn't found an answer to this question. How would you execute a Powershell script from Node.js? The script …

  4. How to execute a PowerShell script using C# - Stack Overflow

    Apr 28, 2020 · Running .ps1 from C# is a really common thing, with many examples all over the web and videos on Youtube showing how/with examples. Call a Powershell script from c# …

  5. Passing a variable to a powershell script via command line

    Powershell's built-in functionality allows for named and unnamed (aka positional) arguments, mandatory and optional arguments with default values and automatically generates help. That …

  6. How to handle command-line arguments in PowerShell

    What is the "best" way to handle command-line arguments? It seems like there are several answers on what the "best" way is and as a result I am stuck on how to handle something as …

  7. Windows sandbox and Powershell : how to make script executable …

    Aug 1, 2022 · powershell -executionpolicy RemoteSigned -command "start powershell {-noexit -File C:\users\WDAGUtilityAccount\Documents\Scripts\script.ps1}" Step 5: Update …

  8. Windows PowerShell: changing the command prompt

    Jul 23, 2018 · Learn how to customize the PowerShell command prompt with examples and tips for creating a personalized and efficient working environment.

  9. How do I pass multiple parameters into a function in PowerShell?

    Powershell is a shell language and it's common for shell languages to use spaces as a token separator. I wouldn't say Powershell is being different here, it's right in line with other system …

  10. How to get an MD5 checksum in PowerShell - Stack Overflow

    I would like to calculate an MD5 checksum of some content. How do I do this in PowerShell?