-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ps script fails on Windows 7 #49
Comments
upgraded .NET script returns data now |
Still no go :( does populate the xml files discovery error: moreover, after next zabbix iteration all xml are rewritten with example from manually populated backupsyncvmbyjob.xml:
Any clue? Thanks |
For Windows 7, you must install Windows Management Framework 3.0. You can download it here : https://www.microsoft.com/en-us/download/details.aspx?id=34595 |
Any way to make it work on Windows 7 ?
Running into:
c:\Program` Files\Zabbix Agent>powershell -NoProfile -ExecutionPolicy Bypass -File "C:\Program Files\Zabbix Agent\scripts
\zabbix_vbr_job.ps1" DiscoveryRepo
DiscoveryRepo
The term 'Get-CimInstance' is not recognized as the name of a cmdlet, function, script 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:\Program Files\Zabbix Agent\scripts\zabbix_vbr_job.ps1:315 char:27
lect-Object @{ N = "REPONAME"; E = { $_.NAME } }
+ CategoryInfo : ObjectNotFound: (Get-CimInstance:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
The term 'ConvertTo-Json' is not recognized as the name of a cmdlet, function, script 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:\Program Files\Zabbix Agent\scripts\zabbix_vbr_job.ps1:278 char:38
get-modules for powershell returns empty list
can I just add required modules?
Thanks
The text was updated successfully, but these errors were encountered: