This is the built-in help made by Microsoft for the command 'Get-WebAppDomain', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Gets the application domains in which the specified IIS worker process is running.
Get-WebAppDomain [-ApplicationPool <String>] [-InputObject <PSObject>] [-ProcessId <UInt32>] [<CommonParameters>]
Gets the application domains in which the specified IIS worker process is running.
<
Online Version: http://go.microsoft.com/fwlink/p/?linkid=287851
<
-------------- EXAMPLE 1: Get the application domain of a running Worker Process --------------
IIS:\>Get-WebAppDomain -ProcessId 5872 -ApplicationPool DefaultAppPoolGet-ChildItem IIS:\AppPools\DefaultAppPool\WorkerProcesses
The example gets the application domains loaded in the specified Worker Process. The process ID can be retrieved by looking at the WorkerProcesses node below the AppPools
node, for example: