What is up with this PowerShell command line quoting/escaping?
问题 I obviously don't know what I'm doing. I have finally got this PowerShell command to work. But I can't figure out why it works. My concern is the final "" characters: &"C:\Program Files\IIS\Microsoft Web Deploy\msdeploy.exe" ` -verb:sync ` -source:contentPath="$build_directory\deploy" ` -dest:contentPath="$server_temp_directory,computerName=$server,username=$server_username,password=$server_password" ` -verbose ` -postSync=runCommand="powershell -NoLogo -NoProfile -Command $server_temp