Invoke - Gather Dell Warranty - Windows
Log In or Register to download the BES file, and more.

0 Votes

Versioning - This is the latest version.

1Invoke - Gather Dell Warranty - Windows4/24/2016 7:42:21 PM
2Invoke - Gather Dell Warranty - Windows5/10/2016 7:13:00 AM
3Invoke - Gather Dell Warranty - Windows9/29/2016 4:50:19 PM
4Invoke - Gather Dell Warranty - Windows10/17/2016 2:17:27 PM

Description

This fixlet queries Dell's Service Website for current warranty information and writes the results to the Dell Folder of the ProgramData directory of the System Drive.

NOTE: This fixlet has no relevance to aid in re-application. It will reapply as often as you tell it to. You should add this to a baseline or action it alone and specify a reapplication frequency of anywhere from days to weeks. 

NOTE: This fixlet has no default action because it requires every endpoint to make an external web request. This request does not traverse the BigFix infrastructure and does require internet access.

For general information or to report issues with C3 Inventory content please visit GitHub here: https://github.com/strawgate/C3-Inventory


Property Details

ID22268
TitleInvoke - Gather Dell Warranty - Windows
DomainBESC
SourceInternal
Source Release Date11/23/2014 12:00:00 AM
Added by on 10/17/2016 2:17:27 PM
Last Modified by on 10/17/2016 2:17:27 PM
Counters 792 Views / 66 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

isWindows (Relevance 1172)
Used in 1063 fixlets and 521 analyses   * Results in a true/false
Show indented relevance
windows of operating system
Used in 4 fixlets   * Results in a true/false
Show indented relevance
exists string value whose (it as lowercase contains "dell") of selects "Manufacturer, Model from Win32_ComputerSystem" of wmi

Actions

Action 1

Action Link Click here to deploy this action.
Script Type BigFix Action Script
parameter "PowerShellExe"="{ pathname of file ((it as string) of value "Path" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell" of native registry) }"

delete __createfile
delete run.ps1

createfile until _end_
new-item -itemtype directory "{name of drive of system folder}\Programdata\Dell" -ErrorAction SilentlyContinue
Invoke-WebRequest -Uri "https://api.dell.com/support/v2/assetinfo/warranty/tags.xml?svctags={(it as string as trimmed string) whose (length of it = 7) of value "serial_number" of structures "system_information" of smbios}&apikey=849e027f476027a394edd656eaef4842" -OutFile "{name of drive of system folder}\Programdata\Dell\BigFixDellWarranty.xml"
_end_

move __createfile run.ps1

waithidden "{parameter "PowershellExe"}" -ExecutionPolicy Bypass -File run.ps1
Success Criteria

This action will be considered successful when all lines of the action script have completed successfully.


Sharing

Social Media:
Share this page on Yammer

Comments

DSBF3327 -
apikey doesn't seem to be working anymore. I'm getting 401 unauthorized error. I tried getting a new key but Dell is on v4 and the output seems to be different. Any help?