Q1.) I get the error message “No handler for command: <the scriptname you are using>”in Nagios
A1.) This is because of the reason that the script isn´t added correctly to the nsclient.ini. Check if the powershell scripts you added are in the [/settings/external scripts/scripts] section as described.