Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
Chris64
byChris64, August 22, 2018
HEllo,
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
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