Run: Get Dell Warranty Information - Windows
0 Votes |
Description
Property Details
6048 | |
Beta - Preliminary testing ready for more | |
Run: Get Dell Warranty Information - Windows | |
BESC | |
Software Sharing | |
500 | |
Internal | |
jgs194 | |
11/21/2014 12:00:00 AM | |
jgstew on 5/6/2015 12:53:34 PM | |
jgstew on 5/6/2015 12:53:34 PM | |
10426 Views / 60 Downloads | |
* Average over 0 ratings. ** Log In or Register to add your rating. |
Relevance
Windows Only (Relevance 2997197)
/* Windows Only */ windows of operating system
/* Windows Vista or Higher */ version of operating system >= "6.0"
/* DELL Only */ exists values "vendor" whose(it as string as uppercase contains "DELL") of structures "bios_information" of smbios
Used in 1 fixlet | * Results in a true/false |
/* Only if serial number appears correct */ exists values "serial_number" whose(7 = length of (it as string as trimmed string)) of structures "system_information" of smbios
Used in 1 fixlet | * Results in a true/false |
not exists files "results_Dell_GetAssetWarranty.xml" of folders "__BESData\__Global\Logs" of parent folder of client
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
// http://en.community.dell.com/dell-groups/supportapisgroup/
// http://en.community.dell.com/cfs-file/__key/telligent-evolution-components-attachments/13-4694-00-00-20-43-81-77/Warranty_5F00_Status_5F00_API_5F00_Functional_5F00_Specification.pdf?forcedownload=true
// http://en.community.dell.com/cfs-file/__key/telligent-evolution-components-attachments/13-4694-00-00-20-43-69-66/Dell-Support-Services_5F00_Case_5F00_Mgt_5F00_API_5F00_FunctionalSpec.pdf?forcedownload=true
// The API Key is from Dell's own PC Doctor Implimentation (if they invalidate it, it will break their own product)
// https://api.dell.com/support/v2/assetinfo/warranty/tags.xml?svctags=__SERVICE-TAG__&apikey=d676cf6e1e0ceb8fd14e8cb69acd812d
// GetAssetDetail
// GetAssetWarranty
// results_Dell_GetAssetWarranty.xml
// -- START:DOWNLOADS -------------------------
// - This is the commandline 7zip console which is use to unpack installers
// - https://www.virustotal.com/en/file/2a3afe19c180f8373fa02ff00254d5394fec0349f5804e0ad2f6067854ff28ac/analysis
prefetch 7za.zip sha1:9ce9ce89ebc070fea5d679936f21f9dde25faae0 size:384846 http://softlayer-dal.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7za920.zip
// - This unzip is a compiled verion of unzip v5.52 fom http://info-zip.org/
// - https://www.virustotal.com/en/file/8d9b5190aace52a1db1ac73a65ee9999c329157c8e88f61a772433323d6b7a4a/analysis
prefetch unzip.exe sha1:e1652b058195db3f5f754b7ab430652ae04a50b8 size:167936 http://software.bigfix.com/download/redist/unzip-5.52.exe
// Download CURL http://curl.haxx.se/download.html
// - Analysis of the CURL.exe inside: https://www.virustotal.com/en/file/7e4379dc72cc25e8d546b3f4b4305b93b6521aaae47c1ea2ee49e4cc4ce8b033/analysis/
prefetch curl.cab sha1:3edb8cfb34ba149ca36b2540cf58a50430a3c8bc size:432989 http://home.arcor.de/skanthak/download/curl-7.38.0.cab
// -- END:DOWNLOADS ---------------------------
// ADD TO UTILITY CACHE: unzip,7zip,curl
utility __Download\unzip.exe
utility __Download\7za.zip
utility __Download\curl.cab
// EXTRACT using unzip: the 7zip command line utility
waithidden __Download\unzip.exe -o "{pathname of file "7za.zip" of folder "__Download" of client folder of current site}" 7za.exe -d "{pathname of folder "__Download" of client folder of current site}"
// EXTRACT using 7zip: CURL
waithidden "{ (pathname of file "7za.exe" of folder "__Download" of client folder of current site) }" e -i!Curl.EXE -y -o"{pathname of folder "__Download" of client folder of current site}" "{pathname of file "curl.cab" of folder "__Download" of client folder of current site}"
// DOWNLOAD: Dell Warranty Info
waithidden "{ (pathname of file "Curl.EXE" of folder "__Download" of client folder of current site) }" -k -o "{ pathname of folders "__BESData\__Global\Logs" of parent folder of client }\results_Dell_GetAssetWarranty.xml" https://api.dell.com/support/v2/assetinfo/warranty/tags.xml?svctags={ (it as string as trimmed string) of value "serial_number" whose(7 = length of (it as string as trimmed string)) of structures "system_information" of smbios }&apikey=d676cf6e1e0ceb8fd14e8cb69acd812d
// OTHER DELL STUFF:
// Dell Client Management Pack Application http://www.dell.com/support/home/us/en/04/Drivers/DriversDetails?driverId=YMMTP
// Dell Platform Tags Utility http://www.dell.com/support/home/us/en/04/Drivers/DriversDetails?driverId=7738M
// Dell Client Integration Pack Application http://www.dell.com/support/home/us/en/04/Drivers/DriversDetails?driverId=H82KH
// Inventory Collector http://www.dell.com/support/home/us/en/04/Drivers/DriversDetails?driverId=28RWY
// Dell Precision Performance Optimizer Application http://www.dell.com/support/home/us/en/04/Drivers/DriversDetails?driverId=KDWR3
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |
Comments
|
|
I will give that try, thanks. |
|
|
Yes, the URLs and prefetches need to be updated. I would recommend swapping them out for the CURL hosted here: https://github.com/strawgate/Patching-Tools/tree/master/Downloads/cURL |
|
|
The fixlet error outs when trying to download 7zip and Curl from; http://softlayer-dal.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7za920.zip http://home.arcor.de/skanthak/download/curl-7.38.0.cab |
|
|
The fixlet error outs when trying to download 7zip and Curl from; http://softlayer-dal.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7za920.zip http://home.arcor.de/skanthak/download/curl-7.38.0.cab |
|
|
Related: https://bigfix.me/fixlet/details/20528 |