Home

SharePoint IT Pro Blog

MSDN Magazine Feed

Showing posts with label Export. Show all posts
Showing posts with label Export. Show all posts

Tuesday, July 8, 2008

IIS configuration script : Iiscnfg.vbs

Iiscnfg.vbs: IIS configuration script
---------------------------------------------------------------------------------

Imports and exports all or selected elements of an Internet Information Services (IIS) metabase on a local or remote computer, or copies the entire IIS configuration (metabase and schema) to another computer to replicate a configuration. Iiscnfg performs the following functions:
To view the command syntax, click a command:


iiscnfg /export

iiscnfg /import

iiscnfg /copy

iiscnfg /save

Solution:
-----------------------------------------------------------------------------------------
Start -> Run -> Cmd ->

cd c:\windows\system32\
Cscript iiscnfg.vbs /export /f "c:\Filename.xml" /sp /LM/W3SVC/website ID "Example :/LM/W3SVC/23432" /children /inherited