Home > Articles > Programming > Windows Programming

  • Print
  • + Share This
From the author of

Command Line Administration

Another nice administrative feature that has been added to IIS 6.0 is the capability to administer IIS to a certain degree from the command line using Windows Scripting Host (WSH) scripts. Using these scripts, an administrator has the ability to do the following:

  • Create, delete, start, stop, and enumerate Web sites
  • Create, delete, start, stop, and list File Transfer Protocol (FTP) sites
  • Create and delete Web virtual directories
  • Create and delete applications
  • Export and import IIS configuration
  • Back up and restore IIS configuration

The scripts use ADSI and the IIS ADSI provider to programmatically manipulate IIS, and can be found in the inetpub\AdminScripts directory.

  • + Share This
  • 🔖 Save To Your Account