jjmartres / Zabbix

A great collection of Zabbix scripts and templates
GNU General Public License v2.0
878 stars 583 forks source link

get Error "ObjectNotFound: (Get-VBRJob:String)" when i run it manually #73

Open colttt opened 9 years ago

colttt commented 9 years ago

Hello, when i run the script manually i get the following errors:

Code: C:\Program Files\zabbix>%SystemRoot%\system32\windowspowershell\v1.0\powershell. exe -nologo -ExecutionPolicy ByPass -command "& C:\zabbix_vbr_job.ps1" Discovery

The term 'Get-VBRJob' is not recognized as the name of a cmdlet, function, scri pt file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At C:\zabbix_vbr_job.ps1:34 char:26

{"data":[{"{#JOBID}":"","{#JOBNAME}":"","{#JOBSCHEDULED}":""},]}

We use Windows Server 2008R2 and VeeamBackup&Replication 6.5.0.109

TheTinkerGnome commented 9 years ago

Veeam PowerShell Extensions are not installed by default. If you go into Veeam, can you open the PowerShell from the File menu?