powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Get-WebAppDomain



NAME
Get-WebAppDomain

SYNOPSIS
Gets the Application Domains in which the specified IIS worker process is running.

SYNTAX
Get-WebAppDomain [-InputObject ] [-ApplicationPool ] [-ProcessId ] [-WarningAction nPreference>] [-WarningVariable ] []


DESCRIPTION
Gets the Application Domains in which the specified IIS worker process is running.


PARAMETERS
-InputObject
The input object from which parameter data is received.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false

-ApplicationPool
The application pool for which the AppDomains is returned.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-ProcessId
The ID of the worker process for which the AppDomain is returned.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-WarningAction


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningVariable


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES




-------------- EXAMPLE 1: Get the AppDomain of a running Worker Process --------------

C:\PS>Get-WebAppDomain -ProcessId 5872 -ApplicationPool DefaultAppPool


The example gets the AppDomains loaded in the specified Worker Process. The process ID can be retrieved by looking
at the WorkerProcesses node below the AppPools node, e.g. get-ChildItem IIS:\AppPools\DefaultAppPool\WorkerProcesse
s






RELATED LINKS