Home > Commands A-M > Commands I

IISEXT


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Configures and manages Web service extensions, applications, and individual files on servers running Windows Server 2003 with Internet Information Services (IIS) 6.0. Administrators can use this script to enable and list applications; add and remove application dependencies; enable, disable, and list Web service extensions; and add, remove, enable, disable, and list individual files.


Syntax

IISEXT[.VBS] [/adddep | /addfile | /disext | /disfile | /enapp | /enext | /enfile | /listapp | /listext | /listfile | /remdep | /rmfile] /?

IISEXT[.VBS] /adddep application id [id...] [/s computer [/u [Domain\]User [/p password]]]

IISEXT[.VBS] /addfile Path\file_name access {0 | 1} id [id...] deletable {0 | 1} short_description [/s computer [/u [Domain\]User [/p password]]]

IISEXT[.VBS] /disext id [id...] [/s computer [/u [Domain\]User [/p password]]]

IISEXT[.VBS] /disfile Path\file_name [/s computer [/u [Domain\]User [/p password]]]

IISEXT[.VBS] /enapp application [/s computer [/u [Domain\]User [/p password]]]

IISEXT[.VBS] /enext id [id...] [/s computer [/u [Domain\]User [/p password]]]

IISEXT[.VBS] /enfile Path\file_name [/s computer [/u [Domain\]User [/p password]]]

IISEXT[.VBS] /listapp [/s computer [/u [Domain\]User [/p password]]]

IISEXT[.VBS] /listext [/s computer [/u [Domain\]User [/p password]]]

IISEXT[.VBS] /listfile [/s computer [/u [Domain\]User [/p password]]]

IISEXT[.VBS] /remdep application id [id...] [/s computer [/u [Domain\]User [/p password]]]

IISEXT[.VBS] /rmfile Path\file_name [/s computer [/u [Domain\]User [/p password]]]


Parameters
access {0 | 1} (NT2003)
Numeric designation of whether the file is disabled (0) or enabled(1) after it is added.
application (NT2003)
Specifies the name of the application.
deletable {0 | 1} (NT2003)
Numeric designation of whether the entry can be deleted from the Web service extension restriction list using IISEXT or IIS Manager. Set to 0 to prevent the entry from being deleted or 1 to allow it to be deleted.
id [id...] (NT2003)
Specifies the id of the Web service extension upon which the application is dependent/disabled/enabled. Additional dependencies are optional.
Path\file_name (NT2003)
Specifies the file name and path of the Web service extension entry to be added.
Can include special cases such as: *.dll to enable/disable unlisted ISAPI files and *.exe to enable/disable unlisted CGI files.
short_description (NT2003)
A short description of the Web service extension associated with the entry. This text can be localized and should be the same for all entries associated with the same Web service extension.

Switches
/? (NT2003)
Display help.
/adddep (NT2003)
Adds a dependency between an application and one or more Web service extensions.
If the application does not exist in the ApplicationDependencies property, IISEXT will create it.
/addfile (NT2003)
Adds a single file to the Web service extension restriction list (WebSvcExtRestrictionList) property in the metabase.
If the ID does not exist, IISEXT will create it.
/disext (NT2003)
Disables a Web service extension with a specific Web service extension ID.
Can only be performed on one Web service extension at a time.
Applies to groups of entries that have the same Web service ID in WebSvcExtRestrictionList property of the metabase. Sets the Access flag to 0 (Deny) on each of the ISAPIRestrictions or CGIRestrictions properties for that ID.
/disfile (NT2003)
Disables a specific Web service extension file in the Web service extension restriction list (WebSvcExtRestrictionList) property.
/enapp (NT2003)
Enables a specific application in the ApplicationDependencies metabase property.
/enext (NT2003)
Enables a Web service extension with a specific Web service extension ID.
Can only be performed on one Web service extension at a time.
Applies to groups of entries that have the same Web service ID in WebSvcExtRestrictionList property of the metabase. Sets the Access flag to 1 (Allow) on each of the ISAPIRestrictions or CGIRestrictions properties for that ID.
/enfile (NT2003)
Enables a specific Web service extension file in the Web service extension restriction list (WebSvcExtRestrictionList) property.
/listapp (NT2003)
Lists applications in the ApplicationDependencies metabase property.
/listext (NT2003)
Lists Web service extension IDs for all defined Web service extensions. If there are multiple entries with the same ID, the Web service extension is only listed once.
/listfile (NT2003)
Lists Web service extension files for all defined Web service extensions.
/p password (NT2003)
Specifies the password of the user account that is specified in /u. If omitted, you will be prompted.
/remdep (NT2003)
Removes a dependency between an application and one or more Web service extensions.
/rmfile (NT2003)
Removes a specific Web service extension file in the Web service extension restriction list (WebSvcExtRestrictionList) property.
If file flagged as not deletable, IISEXT returns an error.
/s computer (NT2003)
Runs the script on the specified remote computer. Type the computer name or IP address without backslashes. Defaults to the local computer.
/u [Domain\]User (NT2003)
Runs the script with the permissions of the specified user account. This account must be a member of the Administrators group on the remote computer. By default, the script runs with the permissions of the current user of the local computer.

Related

none.


Notes

To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using "Run as" to perform this procedure.

Applies to entries in the ApplicationDependencies metabase property and is used to manage the Web service extensions an application depends upon. A Web service extension is any combination of CGI or ISAPI files that extend IIS functionality.

An application must have at least one preexisting dependency in the ApplicationDependencies metabase property in order to be enabled/listed.


Examples

none.


Errorlevels

none.


Availability
External
DOS
none
Windows
none
Windows NT
NT2003

Last Updated: 2003/07/28
Direct corrections or suggestions to: Rick Lively