发送远程IIS命令VB.NET

问题描述:

早上好,

我有一个允许我控制远程服务器上运行的服务的应用程序.我现在在一台服务器上建立了很多IIS网站.是否可以发送命令来停止/启动IIS上托管的单个网站?该应用程序是用VB.NET编写的.

非常感谢您的帮助.

保罗,谢谢.

Morning all,

I have an application that allows me to control services running on our remote servers. I now have a lot of IIS websites set up on one server. Is it possible to send a command to stop/start a single website hosted on IIS? The application is written in VB.NET.

Any help is much appreciated.

Thanks, Paul.

已通读此如何使用vb.net或c# [ ^ ]停止IIS网站
Have a read through this How to stop a IIS website using vb.net or c#[^]