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

Antworten
tiberQ
Beiträge: 30
Registriert: 18 Mär 2019, 11:25

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

Beitrag 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
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

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

Beitrag 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.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
Benutzeravatar
fkalweit
uib-Team
Beiträge: 173
Registriert: 23 Okt 2020, 16:14

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

Beitrag 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"
    }
  ]
}
Antworten