I currently have a Build Step that runs a powershell script. The powershell script has a number of teamcity build parameters passed to it e.g. $services = %deployment.services%. The powershell script is of type "Source Code" so the actual source code is contained within the Build Step. This runs fine just now. I have been trying to move this script into one of our Git repo's and change the Build Step to download and use that instead but it looks as though I can no longer reference in the build parameters in it. Is that the case?
I've also had problems try to run a particular cmdlet within the script. Is this actually possible?