Powershell try block not working on VSTS build
问题 I'm running a command in Powershell through VSTS to affect Azure. The command works, but it gives an error after. The params and connection are working as evidenced by the fact that the group gets permission from the command. I figure a workaround is to put the command in a try block, have it run, and then when the error comes up go to the catch block and end without throwing the error. When I run this script, I still get the same error, like the try block is ignored. Do I have the syntax