You can use the Execute Script task or add the parameter to the Command job parameter. Consider the following example script for Execute Script:
Value = theScript.ToString()
Development has acknowledged bug #23202 for the given behaviour. As of writing, there is currently no fix.