mitchellh/vagrant — pull request #3405 by timcooper (2014-04-07 16:49:46+00:00)
Title: Encapsulate path for smb powershell script

Windows allows parens, spaces and other special chars in directory and file names. Sometimes you don't have a choice (weird IT policies, bureaucracy, drugs etc.) and end up with a bunch of this crap in your paths.

In this case, currently it will fail at the point it calls the set_share.ps1 script, I considered extending the gsub to cover other characters but there are quite a lot that are allowed and would cause this problem so I think the easiest solution with the broadest coverage is to simply encapsulate it.