FILE: C:\Windows\System32\WindowsPowerShell\v1.0\Modules\WebAdministration\iisprovider.format.ps1xml
--
siteNodeView
Microsoft.IIs.PowerShell.Framework.Site#site
Microsoft.IIs.PowerShell.Framework.ConfigurationElement#site
16
left
4
left
10
left
30
left
left
name
id
state
physicalPath
$OFS = "`n"
[string] $_.Bindings.Collection
siteElementView
Microsoft.IIs.PowerShell.Framework.ConfigurationElement#system.applicationHost/sites#site
16
left
4
left
10
left
left
name
id
state
$OFS = "`n"
[string] $_.Bindings.Collection
applicationNodeView
Microsoft.IIs.PowerShell.Framework.Application#application
16
left
18
left
12
left
left
Name
ApplicationPool
EnabledProtocols
PhysicalPath
applicationElementView
Microsoft.IIs.PowerShell.Framework.ConfigurationElement#site#application
16
left
18
left
12
left
left
$name = $_.Path.Trim('/')
$name
ApplicationPool
EnabledProtocols
PhysicalPath
vdirElementView
Microsoft.IIs.PowerShell.Framework.ConfigurationElement#application#virtualDirectory
16
left
30
left
$name = $_.Path.Trim('/')
$name
PhysicalPath
NamespaceNodeView
Microsoft.IIs.PowerShell.Framework.NamespaceNode#mixed
18
left
32
left
left
NodeType
Name
PhysicalPath
appPoolView
Microsoft.IIs.PowerShell.Framework.NamespaceNode#AppPool
Microsoft.IIs.PowerShell.Framework.ConfigurationElement#system.applicationHost/applicationPools#add
24
left
12
left
44
left
Name
$value = $_.State
$value
$pn = $_.Name
$sites = get-webconfigurationproperty "/system.applicationHost/sites/site/application[@applicationPool=`'$pn`'and @path='/']/parent::*" machine/webroot/apphost -name name
$apps = get-webconfigurationproperty "/system.applicationHost/sites/site/application[@applicationPool=`'$pn`'and @path!='/']" machine/webroot/apphost -name path
$arr = @()
if ($sites -ne $null) {$arr += $sites}
if ($apps -ne $null) {$arr += $apps}
if ($arr.Length -gt 0) {
$out = ""
foreach ($s in $arr) {$out += $s.Value + "`n"}
$out.Substring(0, $out.Length - 1)
}
WorkerProcessView
Microsoft.IIs.PowerShell.Framework.WorkerProcessNode#workerProcess
8
Left
10
Left
8
Left
22
Left
processId
$value = $_.State
$value
Handles
StartTime
SslBindingView
SslBinding
19
left
6
left
16
left
16
left
32
left
IPAddress
Port
Host
Store
$out = ""
$s=$_.Sites | select -first 5
foreach ($name in $s) {$out=$out+$name.Value+"`n"}
$out = $out.Substring(0, $out.Length - 1)
if ($_.Sites.Length -gt 5) {$out += "`n..."}
$out
sectionGroupView
Microsoft.IIs.PowerShell.Framework.SectionGroup
24
left
24
left
24
left
Name
$OFS = "`n"
[string] $_.Sections
$OFS = "`n"
[string] $_.SectionGroups
backupView
System.IO.DirectoryInfo#ConfigurationBackup
36
left
left
Name
CreationDate
globalModulesView
Microsoft.IIs.PowerShell.Framework.ConfigurationElement#system.webServer/globalModules#add
24
left
56
left
name
image
nodeCollectionView
Microsoft.IIs.PowerShell.Framework.NodeCollection
name
--