It's easy to write a pwsh function that takes SQL,...
# general
s
It's easy to write a pwsh function that takes SQL, invokes osqueryi -json and returns ConvertFrom-Json object. However, that's not using the shell functions as the query language.