search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Posted in Windows Powershell | No Comment | 1,241 views | 28/08/2015 17:34

These are IIS Website properties that you can get using CIM via PowerShell.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Get WebSites
$WebSites = Get-CimInstance -Namespace "root\MicrosoftIISv2" -ClassName "IIsWebServerSetting" -OperationTimeoutSec 15 -EA Stop
 
$WebSite = $WebSites[0];
 
# WebSite ASP Information
[string]$WebSiteAspAllowOutOfProcComponents = $WebSite.AspAllowOutOfProcComponents
[string]$WebSiteAspAllowSessionState = $WebSite.AspAllowSessionState
[string]$WebSiteAspAppServiceFlags = $WebSite.AspAppServiceFlags
[string]$WebSiteAspBufferingLimit = $WebSite.AspBufferingLimit
[string]$WebSiteAspBufferingOn = $WebSite.AspBufferingOn
[string]$WebSiteAspCalcLineNumber = $WebSite.AspCalcLineNumber
[string]$WebSiteAspCodepage = $WebSite.AspCodepage
[string]$WebSiteAspDiskTemplateCacheDirectory = $WebSite.AspDiskTemplateCacheDirectory
[string]$WebSiteAspEnableApplicationRestart = $WebSite.AspEnableApplicationRestart
[string]$WebSiteAspEnableAspHtmlFallback = $WebSite.AspEnableAspHtmlFallback
[string]$WebSiteAspEnableChunkedEncoding = $WebSite.AspEnableChunkedEncoding
[string]$WebSiteAspEnableParentPaths = $WebSite.AspEnableParentPaths
[string]$WebSiteAspEnableSxs = $WebSite.AspEnableSxs
[string]$WebSiteAspEnableTracker = $WebSite.AspEnableTracker
[string]$WebSiteAspEnableTypelibCache = $WebSite.AspEnableTypelibCache
[string]$WebSiteAspErrorsToNTLog = $WebSite.AspErrorsToNTLog
[string]$WebSiteAspExceptionCatchEnable = $WebSite.AspExceptionCatchEnable
[string]$WebSiteAspExecuteInMTA = $WebSite.AspExecuteInMTA
[string]$WebSiteAspKeepSessionIDSecure = $WebSite.AspKeepSessionIDSecure
[string]$WebSiteAspLCID = $WebSite.AspLCID
[string]$WebSiteAspLogErrorRequests = $WebSite.AspLogErrorRequests
[string]$WebSiteAspMaxDiskTemplateCacheFiles = $WebSite.AspMaxDiskTemplateCacheFiles
[string]$WebSiteAspMaxRequestEntityAllowed = $WebSite.AspMaxRequestEntityAllowed
[string]$WebSiteAspPartitionID = $WebSite.AspPartitionID
[string]$WebSiteAspProcessorThreadMax = $WebSite.AspProcessorThreadMax
[string]$WebSiteAspQueueConnectionTestTime = $WebSite.AspQueueConnectionTestTime
[string]$WebSiteAspQueueTimeout = $WebSite.AspQueueTimeout
[string]$WebSiteAspRequestQueueMax = $WebSite.AspRequestQueueMax
[string]$WebSiteAspRunOnEndAnonymously = $WebSite.AspRunOnEndAnonymously
[string]$WebSiteAspScriptEngineCacheMax = $WebSite.AspScriptEngineCacheMax
[string]$WebSiteAspScriptErrorMessage = $WebSite.AspScriptErrorMessage
[string]$WebSiteAspScriptErrorSentToBrowser = $WebSite.AspScriptErrorSentToBrowser
[string]$WebSiteAspScriptFileCacheSize = $WebSite.AspScriptFileCacheSize
[string]$WebSiteAspScriptLanguage = $WebSite.AspScriptLanguage
[string]$WebSiteAspScriptTimeout = $WebSite.AspScriptTimeout
[string]$WebSiteAspSessionMax = $WebSite.AspSessionMax
[string]$WebSiteAspSessionTimeout = $WebSite.AspSessionTimeout
[string]$WebSiteAspSxsName = $WebSite.AspSxsName
[string]$WebSiteAspTrackThreadingModel = $WebSite.AspTrackThreadingModel
[string]$WebSiteAspUsePartition = $WebSite.AspUsePartition

You can find more properties in my blog.