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

    Dec 7, 2011 · 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 on …

  2. How to use the curl command in PowerShell? - Stack Overflow

    Oct 18, 2016 · In Powershell 3.0 and above there is both a Invoke-WebRequest and Invoke-RestMethod. Curl is actually an alias of Invoke-WebRequest in PoSH. I think using native …

  3. How to execute a PowerShell function several times in parallel?

    Oct 7, 2012 · On top of this my function supports not only automatic construction of [powershell] (@binarySalt's answer) but also Jobs (utilised in @Joost's, but dont use these as they are …

  4. How to execute PowerShell commands from a batch file?

    <# : Begin batch (batch script is in commentary of powershell v2.0+) @echo off : Use local variables setlocal : Change current directory to script location - useful for including .ps1 files cd …

  5. How to handle command-line arguments in PowerShell

    Update: You might also want to pass a "flag" (a boolean true/false parameter) to a PowerShell script. For instance, your script may accept a "force" where the script runs in a more careful …

  6. Powershell Connection to Oracle Database - Stack Overflow

    Jun 27, 2017 · Here is my (Powershell, but you can adapt to C#) code to do this with ODP.NET managed data access.... which I load directly using the Powershell Add-Type but in C# would …

  7. Call REST API from PowerShell Script - Stack Overflow

    Aug 26, 2010 · When using REST Method PUT you need to create a Body as well, see this excellent article for more help Open Tech Guides - How to call Azure Devops REST API from …

  8. What does the "@" symbol do in PowerShell? - Stack Overflow

    Dec 13, 2008 · PowerShell Tutorial 7: Accumulate, Recall, and Modify Data. Array Literals In PowerShell. Share. Improve ...

  9. How do I run C++ program in Powershell, just like CMD?

    Jul 25, 2017 · Like in CMD, to run a C++ program, I use the command g++ filename.cpp, then I run it using the command a.exe, which opens the output in the CMD itself.

  10. PowerShell use regular expression to split a string

    Mar 18, 2015 · In PowerShell when you use a -split function if you have part of the match in brackets you are asking for that match to be returned as well. I am sure that the same is true …