|
In this short article I want to list some IIS commands that are very commonly used by developers.When needed I googled the commands each time. So intead of google each time I collected the commands and put those in same place.Some of them is listed below
Re-Register IIS
aspnet_regiis.exe -i
To restart IIS
iisreset /noforce computername
To disable restart of IIS
iisreset /disable
Create a virtual Web directory
type the following command from a command prompt:
Mkwebdir -c ComputerName -w "WebSiteName" -v DirectoryName,DriveLetter:\FolderName
Start a Virtual Site Without Interrupting the Entire Web Service
adsutil START_SERVER W3SVC/Server#
list of the other commands
- chaccess
- contftp
- contsrv
- contweb
- dispnode
- disptree
- findweb
- mkw3site
- mkwebdir
- pauseftp
- pausesrv
- pauseweb
- startftp
- startsrv
- startweb
- stopftp
- stopsrv
- stopweb
- synciwam
To view the list of running IIS appications
iisapp
|