New answers tagged

0 votes

How to properly display accentuated characters in a check_nrpe result based on a Powershell script?

better solution disable utf8 encoding in nsclient.ini as above and modify your wrapping ps1 scripts in nsclient.ini ps1=cmd /c echo Try {$OutputEncoding = [System.Console]::OutputEncoding = [System....
user avatar
  • 26
1 vote
Accepted

How to properly display accentuated characters in a check_nrpe result based on a Powershell script?

disable your nsclient.ini encoding utf8 [/settings/NRPE/server] ;encoding = utf8 in your script use [Console]::OutputEncoding = [System.Text.Encoding]::UTF8 output your result with : (instead of ...
user avatar
  • 26

Top 50 recent answers are included