I do not see my last post and cannot find it, so 2nd try.
I am trying to make a connection from PowerShell to the Puppet API.
The CURL example on:
http://docs.puppetlabs.com/puppetdb/2.3/api/query/v3/facts.html shows me this:
curl -X GET http://puppetdb:8080/v3/facts --data-urlencode 'query=["=", "name", "operatingsystem"]'
I can get it to work in PowerShell without the query part with this:
Has anyone any knowledge on how i can add the query part?
Looping through the whole output is very time consuming and i want to make use of the query feature to save time.