Microsoft.IIs.PowerShell.Provider.ServerNode#SERVER
PsStandardMembers
DefaultDisplayPropertySet
Name
Microsoft.IIs.PowerShell.Framework.SiteCollectionNode#Sites
PsStandardMembers
DefaultDisplayPropertySet
Name
Microsoft.IIs.PowerShell.Framework.PoolCollectionNode#AppPools
PsStandardMembers
DefaultDisplayPropertySet
Name
Microsoft.IIs.PowerShell.Framework.NodeCollection
PsStandardMembers
DefaultDisplayPropertySet
Name
Microsoft.IIs.PowerShell.Framework.NodeHashedCollection
PsStandardMembers
DefaultDisplayPropertySet
Name
Microsoft.IIs.PowerShell.Framework.Site#site
PsStandardMembers
DefaultDisplayPropertySet
Name
ID
State
PhysicalPath
Bindings
DefaultKeyPropertySet
Name
Microsoft.IIs.PowerShell.Framework.ConfigurationElement#site
PsStandardMembers
DefaultDisplayPropertySet
Name
ID
State
PhysicalPath
Bindings
DefaultKeyPropertySet
Path
Microsoft.IIs.PowerShell.Framework.ConfigurationElement#system.applicationHost/sites#site
PsStandardMembers
DefaultDisplayPropertySet
Name
ID
State
Bindings
DefaultKeyPropertySet
Path
Microsoft.IIs.PowerShell.Framework.ConfigurationElement#bindings
PsStandardMembers
DefaultDisplayPropertySet
Collection
Microsoft.IIs.PowerShell.Framework.ConfigurationElement#bindings#binding
PsStandardMembers
DefaultDisplayPropertySet
protocol
bindingInformation
sslFlags
DefaultKeyPropertySet
protocol
ToString
Microsoft.IIs.PowerShell.Framework.Application#application
PsStandardMembers
DefaultDisplayPropertySet
Name
ApplicationPool
EnabledProtocols
PhysicalPath
DefaultKeyPropertySet
Name
Microsoft.IIs.PowerShell.Framework.ConfigurationElement#site#application
PhysicalPath
$pquery = $this.ItemXPath + "/virtualDirectory[@path='/']/@physicalPath"
$(get-webconfiguration $pquery).Value
PsStandardMembers
DefaultDisplayPropertySet
Path
ApplicationPool
EnabledProtocols
PhysicalPath
DefaultKeyPropertySet
Path
Microsoft.IIs.PowerShell.Framework.VirtualDirectory#virtualDirectory
PsStandardMembers
DefaultDisplayPropertySet
Name
PhysicalPath
DefaultKeyPropertySet
Name
Microsoft.IIs.PowerShell.Framework.ConfigurationElement#application#virtualDirectory
PsStandardMembers
DefaultDisplayPropertySet
Path
PhysicalPath
DefaultKeyPropertySet
Name
Microsoft.IIs.PowerShell.Framework.NamespaceNode#AppPool
PsStandardMembers
DefaultDisplayPropertySet
Name
State
DefaultKeyPropertySet
Name
WorkerProcesses
PsStandardMembers
DefaultDisplayPropertySet
Name
Microsoft.IIs.PowerShell.Framework.WorkerProcessNode#WorkerProcess
Handles
$(get-process -id $this.processId).Handles
StartTime
$(get-process -id $this.processId).StartTime
PsStandardMembers
DefaultDisplayPropertySet
processId
Handles
state
StartTime
DefaultKeyPropertySet
processId
Microsoft.IIs.PowerShell.Framework.ConfigurationElement#error
PsStandardMembers
DefaultDisplayPropertySet
statusCode
subStatusCode
path
responseMode
System.Management.Automation.PSCustomObject#configurationLock
PsStandardMembers
DefaultDisplayPropertySet
LockType
Value
PSPath
Location
Microsoft.IIs.PowerShell.Framework.ConfigurationElement#request
PsStandardMembers
DefaultDisplayPropertySet
requestId
connectionId
verb
url
siteId
SslBinding
Sites
$ip = [string]::empty
if(-not [string]::IsNullOrEmpty($this.IPAddress))
{
# Is a traditional binding
if ($this.IPAddress.AddressFamily -eq [System.Net.Sockets.AddressFamily]::InterNetworkV6)
{
$ip = "[" + $this.IPAddress.ToString() + "]"
}
else
{
$ip = [string]$this.IPAddress
if ($ip -eq "0.0.0.0")
{
$ip = "*"
}
}
$bi += $ip + ":" + $this.Port
get-webconfiguration -filter `
"/system.applicationHost/sites/site/bindings/binding`
[@protocol=`'https`' and starts-with(@bindingInformation,`'$bi`') and @sslFlags=0]`
/parent::node()/parent::node()/@name" `
-pspath MACHINE/WEBROOT/APPHOST
}
else
{
# Is either a CCS or SNI binding
if(-not [string]::IsNullOrEmpty($this.Host))
{
$bi = ":" + $this.Port + ":" + $this.Host
get-webconfiguration -filter `
"/system.applicationHost/sites/site/bindings/binding`
[@protocol=`'https`' and contains(@bindingInformation,`'$bi`') and (@sslFlags=1 or @sslFlags=3)]`
/parent::node()/parent::node()/@name" `
-pspath MACHINE/WEBROOT/APPHOST
}
else
{
# IS CCS so query for all bindings using the specified port.
$bi = ":" + $this.Port + ":"
get-webconfiguration -filter `
"/system.applicationHost/sites/site/bindings/binding`
[@protocol=`'https`' and contains(@bindingInformation,`'$bi`') and (@sslFlags=2 or @sslFlags=3)]`
/parent::node()/parent::node()/@name" `
-pspath MACHINE/WEBROOT/APPHOST
}
}
PsStandardMembers
DefaultDisplayPropertySet
IPAddress
Port
Host
Store
Sites
Microsoft.IIs.PowerShell.Framework.SectionGroup
PsStandardMembers
DefaultDisplayPropertySet
Name
Sections
SectionGroups
DefaultKeyPropertySet
Name
ToString
Microsoft.IIs.PowerShell.Framework.SectionDefinition
PsStandardMembers
DefaultDisplayPropertySet
Name
OverrideModeDefault
AllowDefinition
AllowLocation
DefaultKeyPropertySet
Name
ToString
Microsoft.IIs.PowerShell.Framework.ConfigurationSection
PsStandardMembers
DefaultDisplayPropertySet
SectionPath
PSPath
Location
DefaultKeyPropertySet
SectionPath
Microsoft.IIs.PowerShell.Framework.ConfigurationElement#system.webServer/modules
PsStandardMembers
DefaultDisplayPropertySet
Collection
Microsoft.IIs.PowerShell.Framework.ConfigurationElement#system.webServer/modules#add
PsStandardMembers
DefaultDisplayPropertySet
Name
Precondition
Type
Microsoft.IIs.PowerShell.Framework.ConfigurationElement#system.webServer/globalModules#add
PsStandardMembers
DefaultDisplayPropertySet
Name
Precondition
image
Microsoft.IIs.PowerShell.Framework.ConfigurationElement#system.webServer/handlers#add
PsStandardMembers
DefaultDisplayPropertySet
Name
Path
Verb
Modules
Microsoft.IIs.PowerShell.Framework.ConfigurationElement#system.webServer/fastCgi#application
PsStandardMembers
DefaultDisplayPropertySet
protocol
fullPath
System.IO.DirectoryInfo#ConfigurationBackup
PsStandardMembers
DefaultDisplayPropertySet
Name
CreationDate
Microsoft.IIs.PowerShell.Framework.CodeProperty
PsStandardMembers
DefaultDisplayPropertySet
Value
Microsoft.IIs.PowerShell.Framework.ConfigurationLocation
PsStandardMembers
DefaultDisplayPropertySet
Name
LocationType
PSPath