About 169,000 results
Open links in new tab
  1. Running CMD command in PowerShell - Stack Overflow

    23 One solution would be to pipe your command from PowerShell to CMD. Running the following command will pipe the notepad.exe command over to CMD, which will then open the Notepad …

  2. How can I use PowerShell with the Visual Studio Command Prompt?

    Jan 24, 2010 · As of Visual Studio 2022, there is already a dedicated shortcut that sets PowerShell for development. The default path to the directory which contains both Cmd and …

  3. Run PowerShell command from command prompt (no ps1 script)

    Aug 27, 2013 · Great answer. Small extension: I needed to start the powershell command in a new window from the command prompt and found that the following worked: start powershell …

  4. Windows PowerShell: changing the command prompt

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

  5. How to open command prompt from powershell - Stack Overflow

    Jul 19, 2013 · 13 I am new to powershell. Can any body please explain me how to open command prompt from powershell. I want to open command prompt and run Dir command Is it …

  6. Prompt for user input in PowerShell - Stack Overflow

    Mar 9, 2016 · I want to prompt the user for a series of inputs, including a password and a filename. I have an example of using host.ui.prompt, which seems sensible, but I can't …

  7. On Windows what is the difference between Git Bash vs Windows …

    May 29, 2019 · The Git installer will create a shortcut to launch this "private" version of bash, hence "git bash". The Windows command prompt runs the default Windows shell, CMD.EXE, …

  8. How do I automatically answer "yes" to a prompt in Powershell?

    How can I input "yes" as an answer to an interactive question in a PowerShell session? I know, in Bash, Yes is the tool to answer "yes" on the prompt. In my situation, I can't suppress the …

  9. Command Prompt/PowerShell Closing Automatically with Error

    Mar 29, 2024 · Description: I am encountering an issue with both Command Prompt and PowerShell in Visual Studio Code. Whenever I attempt to open either the Command Prompt or …

  10. command line - How can I pass an argument to a PowerShell …

    powershell.exe itunesForward.ps1 Is it possible to pass an argument from the command line and have it applied in the script instead of the hardcoded 30 seconds value?