About 37,500 results
Open links in new tab
  1. PowerShell equivalent to the Unix `which` command?

    Does PowerShell have an equivalent to the which command found in most (if not all) Unix shells? There are a number of times I'd like to know the location of something I'm running from the command line.

  2. How do I run multiple commands on one line in PowerShell?

    In a cmd prompt, you can run two commands on one line like so: ipconfig /release & ipconfig /renew When I run this command in PowerShell, I get: Ampersand not allowed. The `&` operator is

  3. PowerShell equivalent to DISM's /Cleanup-Image in Windows 10

    Apr 17, 2024 · The parameters of Dism commands are an almost 1:1 to the parameters of PowerShell's Dism cmdlets, with the main difference being cmdlets use - instead of /, coupled with some additional …

  4. windows - Powershell - execute commands without show them in …

    Jun 10, 2022 · Powershell - execute commands without show them in powershell terminal? Ask Question Asked 3 years, 5 months ago Modified 3 years, 5 months ago

  5. Run Powershell script when you open Powershell - Super User

    Mar 8, 2015 · Is it possible to run a Powershell script when you run Powershell? As in, double click the Powershell icon and open the window. Is there some type of "auto-run" setting somewhere?

  6. Run Powershell with parameters from batch file - Super User

    Mar 2, 2021 · You can run PowerShell commands from cmd/bat files by passing the commands as an argument to the powershell command. Make you batch file look like this. Note, I have not checked …

  7. View full history for powershell, not just current session

    Feb 17, 2019 · 33 Powershell now handily remembers history from previous sessions, and I can get to earlier commands simply by using the up-arrow. What I would like though is to be able to display this …

  8. PowerShell es-es Language Installation: ErrorCode -2147418113

    Sep 21, 2023 · Ensure all Windows Updates are installed and that Windows is up-to-date, and has been restarted to make pending Windows Updates effective. Run a Windows Disk Cleanup with the below …

  9. Most PowerShell commands not working - Super User

    Dec 30, 2020 · PowerShell 5.1 is the last version of PowerShell 5.x, the next version, is PowerShell Core 6. PowerShell 7 is the current version, replaces both PowerShell 5.1 and PowerShell Core 6. …

  10. What is the ampersand sign (&) before commands in PowerShell?

    Feb 9, 2023 · You can use the call operator to execute scripts using their filenames. The example below shows a script filename that contains spaces. When you try to execute the script, PowerShell instead …