About 345,000 results
Open links in new tab
  1. powershell - How to effectively use the `-Filter` parameter on …

    The -Filter string is very much like Powershell syntax (not quite, but most of the way there). You can use most of the same logical operators that Powershell supports, and they work much in …

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

    Dec 13, 2008 · Because this type of question (what does 'x' notation mean in PowerShell?) is so common here on StackOverflow as well as in many reader comments, I put together a lexicon …

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

    Quick Tip: With Powershell if you need to use the where command for the same result as you get in CMD, you can't just use where, you need to use where.exe (with the extension), because …

  4. windows - How to run a PowerShell script - Stack Overflow

    powershell starts an PowerShell and runs the command specified in quotation marks. gc '%~0' is the first command that runs in PowerShell. It reads the content of the current file, as '%~0' is …

  5. how do I concatenate and join an array of strings with a delimiter …

    Feb 16, 2023 · As an alternative in PowerShell 6.2+ you can use Join-String: slist | Join-String -Separator ',' Share.

  6. Multiple -and -or in PowerShell Where-Object statement

    By wrapping your comparisons in {} in your first example you are creating ScriptBlocks; so the PowerShell interpreter views it as Where-Object { <ScriptBlock> -and <ScriptBlock> }. Since …

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

    Feb 13, 2019 · Whereas, & is the call operator in Powershell which will help you to call any of the outside executable like psexec and others. Invoking a command (either directly or with the call …

  8. How to run a PowerShell script with verbose output?

    Dec 26, 2016 · There's no way to capture or suppress the tracing output - it invariably prints to the host (console); however, you can capture it from outside PowerShell, via PowerShell's CLI - …

  9. Setting Inheritance and Propagation flags with set-acl and …

    I'm mostly there using Powershell, however the inheritance is only being set as "subfolders and files" instead of the whole "this folder, subfolders and files". Is there some unlisted flag for …

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

    In order to support "matches any of ..." scenarios, I created a function that is pretty easy to read. My version has a lot more to it because its a PowerShell 2.0 cmdlet but the version I'm pasting …

Refresh