How to get a List of installed Products without Commandline
How to get a List of installed Products without Commandline
Is there a way to get a List of installed Products on a Client without using the Commandline?
I have tried it with opsiservicecall but haven't been successful yet.
I have tried it with opsiservicecall but haven't been successful yet.
Re: How to get a List of installed Products without Commandline
You can use opsi-configed or opsi-webgui if you want a graphical interface (just sort the list by installation status).
Alternatively you can use opsi servicecall "productOnClient_getObjects" with a filter like
{"installationStatus": "installed", "clientId":"<client id>"}
I would suggest doing it via opsi-cli (command line!), like so:
but you could also execute a service call in RPC-interface of your admin page (or via curl etc...).
Alternatively you can use opsi servicecall "productOnClient_getObjects" with a filter like
{"installationStatus": "installed", "clientId":"<client id>"}
I would suggest doing it via opsi-cli (command line!), like so:
Code: Alles auswählen
opsi-cli --output-format=table --attributes=productId,productVersion jsonrpc execute productOnClient_getObjects [] '{"installationStatus": "installed", "clientId":"<client id>"}'
Vielen Dank für die Nutzung von opsi. Im Forum ist unser Support begrenzt.
Für den professionellen Einsatz und individuelle Beratung empfehlen wir einen Support-Vertrag und eine Schulung.
Gerne informieren wir Sie zu unserem Angebot.
uib GmbH
Telefon: +49 6131 27561 0
E-Mail: sales@uib.de
- SisterOfMercy
- Beiträge: 1556
- Registriert: 22 Jun 2012, 19:18
Re: How to get a List of installed Products without Commandline
In opsiscript you can do this:
Code: Alles auswählen
set $ResultList$ = getReturnListFromSection('opsiservicecall_getInstalledProductIds_list')
[opsiServiceCall_getInstalledProductIds_list]
"method": "getInstalledProductIds_list"
"params": [
"%HostID%"
]
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Re: How to get a List of installed Products without Commandline
That worked. Thank you very much!