Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Calling MSBuild through a remote Invoke

$
0
0

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


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>