Random Project

Not working completely

Hi,
when I run the script on the host, it works.

In Nagios I receive the following error:
“asnp: No Snap-In registered for Windows Powershell Version 5.
Get-VBRJob […]
UNKNOWN! ‘Backup Job 2 Nas’: No such job”
My Command Line the nsclient.ini looks like this:
“check_veeam=cmd /c echo scriptscheck_veeam.ps1 “Backup Job 2 Nas”; exit $LastExitCode | powershell.exe -command -”

Can you help me?