此脚步调用iisweb.vbs。
Syntax: IIsWeb [/s <server> [/u <username> [/p <password>]]]
/<operation> [arguments]
Parameters:
Value Description
/s <server> Connect to machine <server>
[Default: this system]
/u <username> Connect as <domain><username> or
<username> [Default: current user]
/p <password> Password for the <username> user
<operation> /start Starts a site(s) on given
IIS Server.
/stop Stops a site(s) from running
on a given IIS Server.
/pause Pauses a site(s) that is
running on a given IIS Server.
/delete Deletes IIS configuration
from an existing Web Site.
Content will not be deleted.
/create Creates a Web Site.
/query Queries existing Web Sites.
For detailed usage:
IIsWeb /start /?
IIsWeb /stop /?
IIsWeb /pause /?
IIsWeb /delete /?
IIsWeb /create /?
IIsWeb /query /?