About 251,000 results
Open links in new tab
  1. windows - How to run a PowerShell script - Stack Overflow

    How do I run a PowerShell script? I have a script named myscript.ps1 I have all the necessary frameworks installed I set that execution policy thing I have followed the instructions on this MSDN help

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

    Lately, firing up PowerShell, I noticed that there is a phrase that says: Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows So why not trying it following ...

  3. How do I negate a condition in PowerShell? - Stack Overflow

    404 How do I negate a conditional test in PowerShell? For example, if I want to check for the directory C:\Code, I can run:

  4. How to Install PowerShell 7 in Windows 8, Windows 10, and Windows 11

    May 4, 2023 · How to Install PowerShell 7.0 in Windows 7, Windows 8, and Windows 10 Microsoft has announced the Generally Available (GA) release of PowerShell 7.0 on March 4, 2020. PowerShell 7 …

  5. What is the difference between dot (.) and ampersand (&) in …

    Feb 13, 2019 · The difference between the . and & operators matters only when calling PowerShell scripts or functions (or their aliases) - for cmdlets and external programs, they act the same. For …

  6. powershell - How to fix "running scripts is disabled on this system ...

    Nov 1, 2020 · In powershell # To check the current execution policy, use the following command: Get-ExecutionPolicy # To change the execution policy to Unrestricted, which allows running any script …

  7. Enable or Disable Windows PowerShell 2.0 in Windows 10

    Nov 7, 2019 · How to Enable or Disable Windows PowerShell 2.0 in Windows 10 Windows PowerShell is a task-based command-line shell and scripting language designed especially for system …

  8. how do I concatenate and join an array of strings with a delimiter in ...

    Feb 16, 2023 · how do I concatenate and join an array of strings with a delimiter in powershell? Asked 2 years, 9 months ago Modified 4 months ago Viewed 21k times

  9. What are the PowerShell equivalents of Bash's && and || operators?

    See below for why PowerShell's -and and -or are generally not a solution. [Since implemented in PowerShell (Core) 7+] There was talk about adding them a while back, but it seemingly never made …

  10. PowerShell and the -contains operator - Stack Overflow

    Sep 18, 2013 · The -Contains operator doesn't do substring comparisons and the match must be on a complete string and is used to search collections. From the documentation you linked to: -Contains …