Closed jhoneill closed 3 years ago
Do you have an example where you get that error? I have not seen that error.
Do you have an example where you get that error? I have not seen that error.
The completer for queries doesn't use the cache, so I don't think anything is calling it, meaning the error isn't visible - I can't recall why I tried to the access the cache directly.
PR Summary
It appears this
Is the wrong way to pass
queries
down the pipeline intoselect-object
and causesA command is required to add a parameter. A command must be added to the PowerShell instance before adding a parameter.
It's fixed by changed to calling the command like this.
PR Checklist