I am editing a build definition to run the latest scripts for our product on the dev database before we run our integration tests... that aside, I'm using a powershell script task for my TFS build definition to do so. The MSBuild step before it is set for x64, and some of the dll's loaded for a build won't work with x86, is there any way to use the arguments or variables for this build step to change the powershell script from x86 to x64? The following lines are the only references to x86 architecture in the script.
$env:Path += ";C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\"
CD "C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn"