Skip to content
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

ERROR: A parameter cannot be found that matches parameter name 'Value'. #4

Open
ziompaul opened this issue Jan 4, 2019 · 0 comments

Comments

@ziompaul
Copy link

ziompaul commented Jan 4, 2019

I am testing WSUS tempIate on Zabbix 4.0 and have an error on all items:

2019-01-04 10:24:30 | C:\Program Files\ZABBIX_Agent\wsus_miner.ps1 : A parameter cannot be found that  matches parameter name 'Value'.
     + CategoryInfo          : InvalidArgument: (:) [wsus_miner.ps1], ParentCon
     tainsErrorRecordException
     + FullyQualifiedErrorId : NamedParameterNotFound,wsus_miner.ps1
-- | --

In zabbix agent config there is a standard user parameter:

UserParameter=wsus.miner[*], powershell -NoProfile -ExecutionPolicy "RemoteSigned" -File "C:\Program Files\ZABBIX_Agent\wsus_miner.ps1" -Action "$1" -Object "$2" -Key "$3" -Id "$4" -Value "$5" -consoleCP CP866

Items type is set as Zabbix agent (not Active), because I don't have Active checks enabled.

What can I do with that error?

Regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant