I'm trying to write some remote deploy scripts. I'm using a powershell script to copy an MSI, run the MSI, and then run an MSBuild script afterwards (this is a BizTalk install so I'm running a .btproj file). The script works fine locally, but when run remotely, when it attempts to execute the MSBuild script, I get a "WriteErrorException". I'm guessing that I'm running into some kind of permission issues when launching the MSBuild remotely, but I can't find any answer to this problem.
I'm currently doing a "Start-Process" and passing the "-Verb runas" argument, but that doesn't seem to be making any difference.
Thanks,
Shawn
Shawn Morgan Blue Arch Solutions, Inc. shawn.morgan@bluearchsolutions.com