{"action":"created","issue":{"url":"https://api.github.com/repos/neuecc/RespClient/issues/26","labels_url":"https://api.github.com/repos/neuecc/RespClient/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/neuecc/RespClient/issues/26/comments","events_url":"https://api.github.com/repos/neuecc/RespClient/issues/26/events","html_url":"https://github.com/neuecc/RespClient/issues/26","id":111187223,"number":26,"title":"Error when calling RespClient Non-Interactively","user":{"login":"bab5470","id":8186104,"avatar_url":"https://avatars.githubusercontent.com/u/8186104?v=3","gravatar_id":"","url":"https://api.github.com/users/bab5470","html_url":"https://github.com/bab5470","followers_url":"https://api.github.com/users/bab5470/followers","following_url":"https://api.github.com/users/bab5470/following{/other_user}","gists_url":"https://api.github.com/users/bab5470/gists{/gist_id}","starred_url":"https://api.github.com/users/bab5470/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bab5470/subscriptions","organizations_url":"https://api.github.com/users/bab5470/orgs","repos_url":"https://api.github.com/users/bab5470/repos","events_url":"https://api.github.com/users/bab5470/events{/privacy}","received_events_url":"https://api.github.com/users/bab5470/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-13T14:05:07Z","updated_at":"2015-10-15T17:57:26Z","closed_at":null,"body":"I have a powershell script in which I'm calling RespClient. \r\n\r\nWhen I run the script interactively (logged in) it works as expected. \r\n\r\nWhen I run it non-interactively in a scripted/scheduled manner I get the following error:\r\n\r\n    At C:\\myscripts\\RedisCustomSensor.ps1:105 char:20\r\n    +     (Get-RedisInfo -Subkey keys | where Key -EQ db0).Value;\r\n    +                    ~~~~~~~\r\n        + CategoryInfo          : InvalidArgument: (:) [Get-RedisInfo], ParameterBindingException\r\n        + FullyQualifiedErrorId NamedParameterNotFound,Redis.PowerShell.Cmdlet.GetRedisInfoCommand\r\n\r\nIs there a bug with running RespClient non-interactively?\r\n\r\nThanks\r\nBrad"},"comment":{"url":"https://api.github.com/repos/neuecc/RespClient/issues/comments/148472866","html_url":"https://github.com/neuecc/RespClient/issues/26#issuecomment-148472866","issue_url":"https://api.github.com/repos/neuecc/RespClient/issues/26","id":148472866,"user":{"login":"bab5470","id":8186104,"avatar_url":"https://avatars.githubusercontent.com/u/8186104?v=3","gravatar_id":"","url":"https://api.github.com/users/bab5470","html_url":"https://github.com/bab5470","followers_url":"https://api.github.com/users/bab5470/followers","following_url":"https://api.github.com/users/bab5470/following{/other_user}","gists_url":"https://api.github.com/users/bab5470/gists{/gist_id}","starred_url":"https://api.github.com/users/bab5470/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bab5470/subscriptions","organizations_url":"https://api.github.com/users/bab5470/orgs","repos_url":"https://api.github.com/users/bab5470/repos","events_url":"https://api.github.com/users/bab5470/events{/privacy}","received_events_url":"https://api.github.com/users/bab5470/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T17:57:26Z","updated_at":"2015-10-15T17:57:26Z","body":"FYI - I also get the following error:\r\nWARNING: The names of some imported commands from the module 'RespClient' \r\ninclude unapproved verbs that might make them less discoverable. To find the \r\ncommands with unapproved verbs, run the Import-Module command again with the \r\nVerbose parameter. For a list of approved verbs, type Get-Verb.\r\nGet-RedisInfo : A parameter cannot be found that matches parameter name 'Subkey'.\r\n\r\nRunning the import-module command again with the verbose parameter I see the following:\r\n\r\nPS C:\\Users\\brad.baker> Import-Module C:\\windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\RespClient\\RespClient.dll -verb\r\nose\r\nVERBOSE: Importing cmdlet 'Connect-RedisServer'.\r\nVERBOSE: Importing cmdlet 'Get-RedisCurrentInfo'.\r\nVERBOSE: Importing cmdlet 'Disconnect-RedisServer'.\r\nVERBOSE: Importing cmdlet 'Send-RedisCommand'.\r\nVERBOSE: Importing cmdlet 'Send-RedisPipelineCommand'.\r\nWARNING: The names of some imported commands from the module 'RespClient' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.\r\nVERBOSE: The 'Begin-RedisPipeline' command in the RespClient' module was imported, but because its name does not include an approved verb, it might be difficult to find. For a list of approved verbs, type Get-Verb.\r\nVERBOSE: Importing cmdlet 'Begin-RedisPipeline'.\r\nVERBOSE: The 'Execute-RedisPipeline' command in the RespClient' module was imported, but because its name does not include an approved verb, it might be difficult to find. The suggested alternative verbs are \"Invoke\".\r\nVERBOSE: Importing cmdlet 'Execute-RedisPipeline'.\r\nVERBOSE: Importing cmdlet 'Get-RedisInfo'.\r\nVERBOSE: Importing cmdlet 'Get-RedisConfig'."}}