Last post Jun 22, 2012 02:20 PM by trag1
Jun 22, 2012 02:20 PM|trag1|LINK
I'm trying to get at the Advanced Settings of a site in the Application Pool in IIS7. Using WMI you seem to be able to do just about anything and I see you can recycle an appPool or site using this, so I'd guess you'd be able to get the settings for a Site
within the appPool?? Since I'm doing most of my remote server data gathering using this method I'd like to stay with it, but not sure if this is the correct way or the ProcessModel is more appropriate?
I'm currently using the managementObject to link into IIS with the following path: IISApplicationPool.Name='W3SVC/AppPools/DefaultAppPool'
I can then loop through existing sites/apps within it, but how does one get the "Setting" values from here like the REcycling values?
Thanks for any help
UPDATE: just needed to select from the appropriate place to gain access to the values