Skip to content

Latest commit

 

History

History

Directory-with-brackets

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Set-Content fails in a directory with brackets

If Set-Content -Path is invoked in a directory with brackets then it fails.

If Set-Content -LiteralPath is invoked in a directory with brackets then it works fine in v3+ and silently fails in PowerShell v2.

The script Test-1-directory-with-brackets.ps1 shows the issue.


  • Microsoft Connect 436533