strawgate / C3-Inventory

C3 Inventory
Other
14 stars 10 forks source link

Invoke-Gather Dell Warranty _windows #31

Open sbak47 opened 7 years ago

sbak47 commented 7 years ago

When I deploy the fixlet, it states that it has completed. But, it did not create the BigFixDellWarranty.xml file in the \programdata\Dell\ folder. Any assistance would be greatly appreciated.

strawgate commented 7 years ago

Hi @sbak47 do your endpoints have internet access?

The fixlet queries: https://api.dell.com/support/v2/assetinfo/warranty/tags.xml?svctags=

If you go to that site on the endpoint it should show:

eAPI-40101 http://developer.dell.com/faults#eAPI-40101 Failed to Authenticate User Missing 'apikey' parameter Gateway
sbak47 commented 7 years ago

The Invoke command is only in PS 3 and not PS2. I am out of luck.

strawgate commented 7 years ago

Thanks for the info @sbak47 -- changing it to support Powershell 2 should be pretty easy -- i'll assign this to myself and see if I can't get a fix for this by the start of next week.

sbak47 commented 7 years ago

Ok, Thanks.

jgstew commented 7 years ago

Link to the source: https://github.com/strawgate/C3-Inventory/blob/master/Fixlets/Invoke%20-%20Gather%20Dell%20Warranty%20-%20Windows.bes#L33

Could add relevance to check that PowerShell3 is installed if it is currently required to help prevent this issue until it can be addressed.

TimiN467 commented 7 years ago

Is there an update on this? Invoke Gather Dell Warranty still doesn't seem to work correctly. The fixlet says the task completed, but a file was not generated. I've tested on Windows 7 and Windows 10 machnines with same results.

sbak47 commented 7 years ago

It is good. It works great.

Get Outlook for Androidhttps://aka.ms/ghei36


From: jgstew notifications@github.com Sent: Wednesday, April 5, 2017 2:31:03 PM To: strawgate/C3-Inventory Cc: sbak47; Mention Subject: Re: [strawgate/C3-Inventory] Invoke-Gather Dell Warranty _windows (#31)

Link to the source: https://github.com/strawgate/C3-Inventory/blob/master/Fixlets/Invoke%20-%20Gather%20Dell%20Warranty%20-%20Windows.bes

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/strawgate/C3-Inventory/issues/31#issuecomment-291953696, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYmySkcBnxxlQQlWsYQkxPEIcwDVeKHXks5rs93ngaJpZM4MCEQk.

TimiN467 commented 7 years ago

I get 401 unauthorized error using the apikey. I got new apikey but it doesn't seem to work with the this version. Dell release v.4 of their API' and had different formatting. I can write new analysis, but I don't know how to parse the xml file. Can anyone point me in the right direction?

strawgate commented 7 years ago

Hi -- @TimiN467 this Fixlet is still broken and I haven't had time to take a look at it. I'd recommend asking for help on the BigFix Forum