Seite 1 von 1

Is there a way to export all produkt keys at once ?

Verfasst: 05 Dez 2021, 19:44
von tiberQ
Dear all,

I do defined for all clients the Windows keys as a netboot products variable (produktkey)....

Is there a way to export this info for all clients at once as. eg. pdf ?

Thanks & Best

Re: Is there a way to export all produkt keys at once ?

Verfasst: 07 Dez 2021, 07:32
von SisterOfMercy
With opsi-admin you should be able to export everything to a list. Maybe search for syntax, because I can't help you with that.

Re: Is there a way to export all produkt keys at once ?

Verfasst: 07 Dez 2021, 09:33
von fkalweit
Hi,

maybe you could write a python script (or similar) and send something like this to the server:

Code: Alles auswählen

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "productPropertyState_getObjects",
  "params": [
    [],
    {
      "productId": "win10-x64",
      "propertyId": "productkey"
    }
  ]
}