About 271,000 results
Open links in new tab
  1. What does the "@" symbol do in PowerShell? - Stack Overflow

    May 21, 2021 · I've seen the @ symbol used in PowerShell to initialise arrays. What exactly does the @ symbol denote and where can I read more about it?

  2. 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

  3. 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 …

  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. 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 …

  6. What does the & symbol in powershell mean? - Stack Overflow

    What does the & symbol in powershell mean? Asked 11 years, 9 months ago Modified 4 years, 1 month ago Viewed 190k times

  7. 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 …

  8. How to Use -confirm in PowerShell - Stack Overflow

    Will you also get the PowerShell docs updated too, to not say, The Read-Host cmdlet reads a line of input from the console. You can use it to prompt a user for input?

  9. How to Remove the Banner Message in PowerShell

    Apr 15, 2018 · 45 You can start PowerShell with the /nologo argument to disable the message. powershell.exe /nologo This argument can be added to the PowerShell profile in the Windows …

  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 …