About 345,000 results
Open links in new tab
  1. 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"), …

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

  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. PowerShell and the -contains operator - Stack Overflow

    Sep 18, 2013 · True PS C:\> "Windows", "PowerShell" -Contains "Shell" False #Not an exact match I think what you want is the -Match operator: "12-18" -Match "-" Which returns True. …

  5. List of all colors available for PowerShell? - Stack Overflow

    Jul 23, 2018 · I am searching for a list of all colors I can use in PowerShell. Since we need to provide names and no hexnumbers, it's hard to figure out if a color exists or not, at least if you …

  6. powershell - How to properly use the -verbose and -debug …

    Nov 29, 2010 · PowerShell already does this as the code below proves. function f { [cmdletbinding()]Param() "f is called" Write-Debug Debug Write-Verbose Verbose } function g { …

  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 …

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

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