Windows Azure WorkerRole 响应
我正在开发一个 Azure 演示,以在辅助角色中运行 Powershell。在我的 Web 角色中,我添加了要运行到 CloudQueue 对象的 Powershell 脚本的名称。
我可以将脚本输出打印到调试控制台,但需要能够将此输出返回到我的 Web 角色并将其显示在 ASP.NET 页面上。
关于如何做到这一点有什么建议吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查一下:
http://code.msdn.microsoft.com/windowsazuresamples
它有一个 PowerShell 辅助角色示例,我目前正在这里运行:
http://marcoposh.cloudapp.net/
这里有一个简短的解释:
http://marcoshaw.blogspot.com/ 2009/12/running-powershell-in-cloud-with-azure.html
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