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

    Dec 13, 2008 · 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. What does $_ mean in PowerShell? - Stack Overflow

    Feb 1, 2016 · If you break down powershell to basics then everything is a script block including a script file a, functions and cmdlets. You can define your own parameters but in some …

  3. powershell - What's the command of call operator &? - Stack …

    Feb 22, 2017 · Surrounding a command with quotes will make PowerShell treat it as a string, so in addition to quotes, use the & call operator to force PowerShell to treat the string as a …

  4. What does "%" (percent) do in PowerShell? - Stack Overflow

    It seems that the % operation starts script blocks after the pipeline, although about_Script_Blocks indicates the % isn't necessary. These all work just fine. get-childitem | % { write-host $_.Na...

  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 …

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

    The quickest way to real frustration when learning PowerShell is to start by thinking that it is just an expanded CMD or bash. It has a fundamentally different model, epecially when it comes to …

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

    How do I negate a condition in PowerShell? Asked 13 years, 7 months ago Modified 3 years, 7 months ago Viewed 467k times

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

    Why PowerShell's -and and -or are no substitute for && and ||: Bash 's control operators && (short-circuiting logical AND) and || (short-circuiting logical OR) implicitly check the success …

  9. What does mean % , $_ and @ in Powershell? - Stack Overflow

    Jul 3, 2019 · It defaults as a PowerShell alias for Foreach-Object. You can execute the Get-Alias command to see other potential aliases that may contain special characters like Where-Object …

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

    How to Use -confirm in PowerShell Asked 10 years, 11 months ago Modified 4 months ago Viewed 259k times

Refresh