Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Iisapp.vbs: IIS application query script

Updated: January 21, 2005

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Iisapp.vbs: IIS application query script

Reports the process identifiers (PIDs) of currently running w3pwp.exe processes serving a particular application pool.

Syntax

iisapp [a/ AppPoolName | /p AppPoolID]

Parameters
/a AppPoolName
Specifies the name of a particular application pool. (Optional)

/p AppPoolID
Specifies an application pool by its ID number. (Optional)

Remarks
  • If no application pool name or ID are specified, iisapp lists all running applications.

  • The /u and /p command-line options are available only when you use /s. You must use /p with /u to provide the user's password.

  • Iisext.vbs performs the same operations that are available from IIS Manager. You can use either tool to administer IIS Web sites.

  • The computer issuing the command must be running Windows XP or a Windows Server 2003 operating system. The user must be a member of the Administrators group on any computer that the command affects.

  • The computer that the command affects must be a server running Windows Server 2003 with Internet Information Services (IIS) 6.0.

Examples

The following examples show how to use iisapp in specific situations.

To view all running applications

The following example displays all application pools running on the local computer, identified by their process ID (PID) and application pool ID (AppPoolID). The command omits all optional parameters and accepts the default values.

iisapp

Iisapp responds with the following:

Connecting to server ...Done.
W3WP.exe PID: 2232   AppPoolID: DefaultAppPool
W3WP.exe PID: 2608   AppPoolID: MyAppPool

To view running applications by process ID

If you know the PID of a specific application, you can check its status with the following command.

iisapp /p 2608

Iisapp responds with the following:

Connecting to server ...Done.
W3WP.exe PID: 2608   AppPoolID: MyAppPool

Formatting legend

 

Format Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

See Also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.