Page 1 of 1

'powershell.exe' is not recognized as an internal/external

Posted: Tue Apr 30, 2019 9:07 pm
by udaykumar
Hi Team,

We have defined one service to monitor the Certificate expiry.
We are getting the error as " 'powershell.exe' is not recognized as an internal or external command", What would be the exact reason for that.
What needs to be check from Client ENd, Can anyone suggest on this. Find the screen shot for service define. On the same service define we have more servers but only few are getting this error remaining all are working fine.

Re: 'powershell.exe' is not recognized as an internal/extern

Posted: Wed May 01, 2019 9:14 am
by cdienger
It sounds like a misconfiguration in the nsclienit.ini file. Check out https://support.nagios.com/kb/article.php?id=528 for steps on configuring nsclient++ to execute powershell scripts.