Iiscnfg.vbs: IIS configuration script
20 March 2007iiscnfg /copy
Copies the IIS metabase and schema from one computer to another.
Syntax
iiscnfg[.vbs] /copy /ts TargetComputer /tu TargetUser /tp TargetPassword [/s Computer [/u [Domain\]User [/p Password]]]
Parameters
/tsTargetComputer
Required. Copies the IIS metabase to the specified computer. Type the IP address or computer name without backslashes.
/tuTargetUser
Required. Specifies the account used to connect to the target computer. Type a user account in [Domain]\User format. This account must be a member of the Administrators group on the target computer. This parameter is required, even when the current user of the local computer is an Administrator of the target computer.
/tpTargetPassword
Required. Specifies the password for the account specified by the /tu parameter.
/sComputer
Copies the IIS metabase of the specified remote computer to the target computer. This parameter runs the script on the remote computer. Type the name or IP address of a remote computer without backslashes. The default is the local computer.
/u [Domain\]User
Runs the script with the permissions of the specified user account. The default is the current user of the local computer. This parameter is required when the current user is not an Administrator of the remote computer.
/pPassword
Specifies the password of the user account specified in the /u parameter. If you omit this parameter, IISCnfg prompts you for the password and obscures the text you type.
/?
Displays help at the command prompt.
Comments are closed.