Hi all
As part of my struggle to write a comprehensive script to deploy web applications to the servers of the company that I work for, I have coded a part of the script which displays the properties of the necessary application pools. This is shown below:
Get-Item -Path $POOLPATH | Format-List *
And it returns information in this form:
name : DefaultAppPool
queueLength : 1000
autoStart : True
enable32BitAppOnWin64 : False
managedRuntimeVersion : v4.0
managedRuntimeLoader : webengine4.dll
enableConfigurationOverride : True
managedPipelineMode : Integrated
CLRConfigFile :
passAnonymousToken : True
startMode : OnDemand
state : Started
applicationPoolSid : S-1-5-82-3006700770-424185619-1745488364-794895919-4004696415
processModel : Microsoft.IIs.PowerShell.Framework.ConfigurationElement
recycling : Microsoft.IIs.PowerShell.Framework.ConfigurationElement
failure : Microsoft.IIs.PowerShell.Framework.ConfigurationElement
cpu : Microsoft.IIs.PowerShell.Framework.ConfigurationElement
workerProcesses : Microsoft.IIs.PowerShell.Framework.ConfigurationElement
ItemXPath : /system.applicationHost/applicationPools/add[@name='DefaultAppPool']
PSPath : WebAdministration::\\ITPCWXG4\AppPools\DefaultAppPool
PSParentPath : WebAdministration::\\ITPCWXG4\AppPools
PSChildName : DefaultAppPool
PSDrive : IIS
PSProvider : WebAdministration
PSIsContainer : True
Attributes : {name, queueLength, autoStart, enable32BitAppOnWin64...}
ChildElements : {processModel, recycling, failure, cpu...}
ElementTagName : add
Methods : {Start, Stop, Recycle}
Schema : Microsoft.IIs.PowerShell.Framework.ConfigurationElementSchema
My question is, how do I get the information for the properties displaying "Microsoft.IIs.PowerShell.Framework.ConfigurationElement" to show?