KelvinTegelaar / PowerShellWarrantyReports

a repo dedicated to automatic warranty reporting and retrieval from different systems such as IT-Glue, Connectwise, Autotask, and N-central.
GNU Affero General Public License v3.0
173 stars 71 forks source link

Permanently add Dell API key #83

Closed aK1NG40K closed 7 months ago

aK1NG40K commented 11 months ago

Is there a way to permanently add the Dell API key/secret to the script without having to use Set-WarrantyAPIKeys each time PS is started?

We're using the following script (https://github.com/snipe/snipe-it/issues/7326#issuecomment-1271112555) to import warranty info into Snipe-IT and would like to schedule it to run automatically.

ronmanp commented 11 months ago

That would be great because we need to setup the scheduled task and "forget" about it. We can't do that if we can't store the secret permanently.

deawar commented 2 months ago

We also need multiple Manufacturer's Warranty Info for assets currently deployed. Dell, HP, Lenovo, Apple would be the short list. But also Meraki, Cisco and Datto for networking equipment.