a

My feedback

  1. 24 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  General Feedback  ·  Flag idea as inappropriate…  ·  Admin →
    a supported this idea  · 
  2. 1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  PowerShell » Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
    An error occurred while saving the comment
    a commented  · 

    The same way that an asterisk in a single quoted string is still a filesystem wildcard, e.g. `ls '*.txt' Brackets are wildcards, they represent groups of characters, [abc.txt] would match a.txt or b.txt or c.txt. Avoiding this is what the -LiteralPath parameter is for, use it instead of -Path e.g. ls -literalpath '[abc].txt'.

Feedback and Knowledge Base