Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use Iisext.vbs to list Web service extensions

Shulou Source: shulou.com Published: 2022-06-03 08:26:26 11月15日 Update

This article mainly explains "how to use Iisext.vbs to list Web service extensions". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to list Web service extensions using Iisext.vbs".

Apply to: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1

You can use the command line script iisext.vbs (stored in systemroot\ system32) to list the ID of all defined Web service extensions. These extensions must reside on computers running members of the Windows Server 2003 family with IIS 6.

Iisext.vbs performs the same actions that can be used with the IIS Manager. You can use any of the tools to manage IIS sites.

Important matters

Only members of the Administrators group on the local computer can run scripts and executables. As a security best practice, log on to the computer using an account that is not part of the Administrators group, and then use the runas command to run scripts and executables as an administrator. At the command prompt, type runas / profile / User:MyComputer\ Administrator cmd, open a command window with administrator privileges, and then type cscript.exeScriptName (including the full path to the script and any parameters).

This topic includes the following information:

Syntax: the order in which you must type a command and any parameters and options that follow it.

Parameter: the value assigned to the variable in the command.

For example: sample code and a description of the results.

Grammar

Iisext / ListExt [/ s Computer [/ u [Domain\] User [/ p Password]

Parameters.

/ s Computer

Runs the script on the specified remote computer. Type the computer name or IP address without a backslash. By default, the script runs on the local computer.

/ u [Domain\] User

Runs the script with the privileges of the specified user account. The 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 on the local computer.

/ p Password

Specifies the password for the user account specified in the / u parameter. If you ignore this parameter, the script prompts you to enter a password and does not display the text you typed.

Example

The following command lists all Web service extension ID in the WebSvcExtRestrictionList property of the configuration database on the local computer:

The copy code is as follows:

Iisext / ListExt

Complete method:

The copy code is as follows:

Cscript c:\ windows\ system32\ iisext.vbs /

In response, iisext displays all Web service extension ID on the local computer.

Connecting to server... Done

SSINC

Payroll

ASP

Inventory

ASP.NET

WEBDAV

HTTPODBC

Thank you for your reading, the above is the content of "how to use Iisext.vbs to list Web service extensions". After the study of this article, I believe you have a deeper understanding of how to use Iisext.vbs to list Web service extensions, and the specific usage needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Scripts services commands runs parameters code accounts management situations members permissions users computers learning content passwords files examples administrators syntax Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Shulou Technology Shulou Information OPPO Reno Docker