Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com


Remember Me



byChris64, August 22, 2018
Check Microsoft IIS Application Pool

i recently set a new windows server 2016 up, configured IIS 10.0 with 9 appPool.
i copied your script on the server but i have an issue while running your script locally.
PS C:Program FilesNSClient++scripts> .check_ms_iis_application_pool.ps1 -A WsusPool -AppCmd 1
get-wmiobject : Classe non valide « Win32_PerfFormattedData_PerfProc_Process »
Au caractère C:Program FilesNSClient++scriptscheck_ms_iis_application_pool.ps1:392 : 42
+ ... t.Process = get-wmiobject Win32_PerfFormattedData_PerfProc_Process | ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidType: (:) [Get-WmiObject], ManagementException
+ FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand

any idea?

best regards