Search This Blog

PowerShell working with paths that contain wildcards - square brackets

Use the –LiteralPath parameter available to suppress all pattern matching behavior.  But Rename-Item cmdlet does not have the –LiteralPath parameter.  A workaround is to use Move-Item cmdlet to rename files.

See Windows PowerShell in Action, page 309 – 312, and http://sandbox.manning.com/thread.jspa?messageID=62599

No comments:

Post a Comment

Use WinSCP to Transfer Files in vCSA 6.7

This is a quick update on my previous post “ Use WinSCP to Transfer Files in vCSA 6.5 ”. When I try the same SFTP server setting in vCSA 6.7...