Question

I am working on an Azure demo to run Powershell in a worker role. In my web role I add the name of the Powershell script which is to be run to a CloudQueue object.

I can print the script output to the debug console but need to be able to get this output back into my web role and display it on the ASP.NET page.

Any suggestions on how this is done?

Was it helpful?

Solution

Check this: http://code.msdn.microsoft.com/windowsazuresamples

It has a PowerShell worker role sample, that I have currently running here currently: http://marcoposh.cloudapp.net/

A brief explanation is here: http://marcoshaw.blogspot.com/2009/12/running-powershell-in-cloud-with-azure.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top