About 342,000 results
Open links in new tab
  1. What does $$, $?, $^ represent in powershell? - Stack Overflow

    Nov 22, 2010 · 6 In PowerShell, a dollar sign preceding a name indicates a variable. The symbols in question are just special cases of variables provided by the PowerShell environment. They …

  2. what is `powershell -c` or any execution parameters(e.g.

    Nov 4, 2020 · default Windows PowerShell remoting endpoints or a custom endpoint having specific user role capabilities. -File Runs the specified script in the local scope ("dot-sourced"), …

  3. What does the "@" symbol do in PowerShell? - Stack Overflow

    Dec 12, 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?

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

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

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

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

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

  9. Use -notlike to filter out multiple strings in PowerShell

    Use -notlike to filter out multiple strings in PowerShell Asked 16 years, 1 month ago Modified 2 years, 10 months ago Viewed 205k times

  10. Stop Powershell from exiting - Stack Overflow

    Feb 20, 2012 · You basically have 3 options to prevent the PowerShell Console window from closing, that I describe in more detail on my blog post. One-time Fix: Run your script from the …