Build precise queries to find exactly what you need
Press ESC to close
@Chris64
Favorites0
Views
Projects0
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
Reviewed 7 years ago