About 202,000 results
Open links in new tab
  1. Determine installed PowerShell version - Stack Overflow

    Dec 1, 2009 · How can I determine what version of PowerShell is installed on a computer, and indeed if it is installed at all?

  2. How to get the "Windows PowerShell" version? `pwsh --version` seems …

    Sep 1, 2024 · pwsh --version Displays the version of this PowerShell exectuable. Additional parameters are ignored. returns the version of the pwsh.exe command not the version of the current CLI …

  3. How to get a full PowerShell version as a single-line string?

    May 20, 2023 · I know that there are multiple ways to find the PowerShell version, but I specifically need a clean single line output without any fancy tables or new lines, that I can put into a variable. (Get …

  4. Can I get "&&" or "-and" to work in PowerShell? - Stack Overflow

    Quick Tip: With Powershell if you need to use the where command for the same result as you get in CMD, you can't just use where, you need to use where.exe (with the extension), because without the …

  5. windows - How to upgrade PowerShell version - Stack Overflow

    I run winget search Microsoft.PowerShell and it says that version 7.2 is available as well as the 7.3 preview version I run winget install --id Microsoft.Powershell --source winget and version 7.2 is installed

  6. Check PowerShell Version in Windows | Tutorials - Ten Forums

    Dec 9, 2020 · How to Check PowerShell Version in Windows Windows PowerShell is a task-based command-line shell and scripting language designed especially for system administration.

  7. How can I select which version of PowerShell (5 or 7) is used when I ...

    Jun 11, 2024 · How can I choose which PowerShell version is used when hitting run? The only way I know is to first open a terminal of my choice and then run the PowerShell script (.ps1 file) in that …

  8. How to set PowerShell 7 as default and remove other versions

    Mar 2, 2021 · I want to set PowerShell 7 as the default shell. So when I shift right click in File Explorer and click on "Open PowerShell window here" in the context menu, I want PowerShell 7 to come up. …

  9. powershell - Return the current version of an app with winget - Stack ...

    Feb 5, 2025 · I'm trying to figure out how I can grab the current version of an app installed on a computer using Winget, and save it to a variable. Eg. if I enter: winget list --name 7-Zip This returns: Name ...

  10. How do I check if a PowerShell module is installed?

    Feb 26, 2015 · 28 The current version of Powershell has a Get-InstalledModule function that suits this purpose well (or at least it did in my case). Get-InstalledModule Description The Get-InstalledModule …