When passing password as an argument which has = in it, doesn't get parsed. It splits the password into two word. one before the = and other after it. If we pass the password with " around it then it parse it properly but later it failed because it adds another set of quotes at
if /I "%_ArgFlag%" == "/P:" set _ArgPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK
When passing password as an argument which has = in it, doesn't get parsed. It splits the password into two word. one before the = and other after it. If we pass the password with " around it then it parse it properly but later it failed because it adds another set of quotes at
if /I "%_ArgFlag%" == "/P:" set _ArgPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK
And this about script https://github.com/microsoft/mwt-ds/blob/master/mc/DecisionServicePrivateWeb.deploy.cmd#L80