Skip to content

Latest commit

 

History

History
94 lines (70 loc) · 2.47 KB

File metadata and controls

94 lines (70 loc) · 2.47 KB
description external help file Module Name ms.date online version schema title
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell.
Microsoft.IIS.PowerShell.Provider.dll-Help.xml
WebAdministration
12/27/2016
2.0.0
Get-WebAppDomain

Get-WebAppDomain

SYNOPSIS

Gets the application domains in which the specified IIS worker process is running.

SYNTAX

Get-WebAppDomain [-InputObject <PSObject>] [-ApplicationPool <String>] [-ProcessId <UInt32>]
 [<CommonParameters>]

DESCRIPTION

The Get-WebAppDomain cmdlet gets the application domains in which the specified Internet Information Services (IIS) worker process is running.

EXAMPLES

Example 1: Get the application domain of a running worker process

IIS:\> Get-WebAppDomain -ProcessId 5872 -ApplicationPool "DefaultAppPool" 
IIS:\> Get-ChildItem IIS:\AppPools\DefaultAppPool\WorkerProcesses

The first command gets the application domains loaded in the specified worker process. The second command gets the process ID from the WorkerProcesses node below the AppPools node.

PARAMETERS

-ApplicationPool

Specifies the application pool for which application domains are returned.

Type: String
Parameter Sets: (All)
Aliases: apppool, pool

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-InputObject

Specifies the input object from which parameter data is received.

Type: PSObject
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-ProcessId

Specifies the ID of the worker process for which the application domain is returned.

Type: UInt32
Parameter Sets: (All)
Aliases: proc, procid, pid, wp

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS