Convert a batch-file command with complex arguments to PowerShell

Note: JamesQMurphy’s helpful answer is the best solution in this case. This answer generally discusses translating command lines written for cmd.exe to PowerShell. Translating cmd.exe (batch-file) command lines to PowerShell is tricky – so tricky, that in PSv3 pseudo-parameter –%, the stop-parsing token, was introduced: Its purpose is to allow you to pass everything that … Read more