Dell Warranty Info - Windows
0 Votes |
Versioning - This is the latest version.
1 | Dell Warranty Info - Windows | 5/6/2015 1:53:48 PM |
2 | Dell Warranty Info - Windows | 5/6/2015 2:12:37 PM |
3 | Dell Warranty Info - Windows | 5/6/2015 3:04:39 PM |
Description
This analysis provides the results from this task: http://bigfix.me/fixlet/details/6048
Property Details
Properties
Time Retrieved
Period
6 hours
* Results in a true/false |
creation times of files "results_Dell_GetAssetWarranty.xml" of folders "__BESData\__Global\Logs" of parent folder of client
Warranty Expiration Date
Period
12 hours
* Results in a true/false |
maxima of unique values of ((it as date) of (last 2 of it & " " & (substring (4,2) of it as integer as month as three letters) & " " & first 4 of it) of it) of (it as trimmed string) of (concatenations of substrings separated by "-" of it) of (preceding text of first "T" of it) of node values of selects "/GetAssetWarrantyResponse/GetAssetWarrantyResult/a:Response/a:DellAsset/a:Warranties/a:Warranty/a:EndDate/text()" of xml documents of files "results_Dell_GetAssetWarranty.xml" of folders "__BESData\__Global\Logs" of parent folder of client
Ship Date
Period
12 hours
* Results in a true/false |
unique values of ((it as date) of (last 2 of it & " " & (substring (4,2) of it as integer as month as three letters) & " " & first 4 of it) of it) of (it as trimmed string) of (concatenations of substrings separated by "-" of it) of (preceding text of first "T" of it) of node values of selects "/GetAssetWarrantyResponse/GetAssetWarrantyResult/a:Response/a:DellAsset/a:ShipDate/text()" of xml documents of files "results_Dell_GetAssetWarranty.xml" of folders "__BESData\__Global\Logs" of parent folder of client
Alll Warranties
Period
12 hours
* Results in a true/false |
unique values of (it as trimmed string) of node values of selects "a:ServiceLevelDescription/text()" of selects "/GetAssetWarrantyResponse/GetAssetWarrantyResult/a:Response/a:DellAsset/a:Warranties/a:Warranty" of xml documents of files "results_Dell_GetAssetWarranty.xml" of folders "__BESData\__Global\Logs" of parent folder of client
Current Warranties
Period
1 hour
* Results in a true/false |
unique values of (it as trimmed string) of node values of selects "a:ServiceLevelDescription/text()" of selects "/GetAssetWarrantyResponse/GetAssetWarrantyResult/a:Response/a:DellAsset/a:Warranties/a:Warranty" whose( exists (it) whose(it > current date) of ((it as date) of (last 2 of it & " " & (substring (4,2) of it as integer as month as three letters) & " " & first 4 of it) of it) of (it as trimmed string) of (concatenations of substrings separated by "-" of it) of (preceding text of first "T" of it) of node values of selects "a:EndDate/text()" of it ) of xml documents of files "results_Dell_GetAssetWarranty.xml" of folders "__BESData\__Global\Logs" of parent folder of client
CustomerNumber
Period
12 hours
* Results in a true/false |
unique values of (it as trimmed string) of node values of selects "/GetAssetWarrantyResponse/GetAssetWarrantyResult/a:Response/a:DellAsset/a:CustomerNumber/text()" of xml documents of files "results_Dell_GetAssetWarranty.xml" of folders "__BESData\__Global\Logs" of parent folder of client
OrderNumber
Period
12 hours
* Results in a true/false |
unique values of (it as trimmed string) of node values of selects "/GetAssetWarrantyResponse/GetAssetWarrantyResult/a:Response/a:DellAsset/a:OrderNumber/text()" of xml documents of files "results_Dell_GetAssetWarranty.xml" of folders "__BESData\__Global\Logs" of parent folder of client
MachineDescription
Period
12 hours
* Results in a true/false |
unique values of (it as trimmed string) of node values of selects "/GetAssetWarrantyResponse/GetAssetWarrantyResult/a:Response/a:DellAsset/a:MachineDescription/text()" of xml documents of files "results_Dell_GetAssetWarranty.xml" of folders "__BESData\__Global\Logs" of parent folder of client
Warranty Info
Period
6 hours
* Results in a true/false |
( ( ( (it as integer) of first 4 of node value of select "a:EndDate/text()" of it ) - ( (it as integer) of first 4 of node value of select "a:StartDate/text()" of it ) ) as string & " Year " & ( node value of select "a:ServiceLevelDescription/text()" of it ) & ", Provider: " & (node value of select "a:ServiceProvider/text()" of it) & ", Start Date: " &( (preceding text of first "T" of it) of node value of select "a:StartDate/text()" of it )& ", End Date: " &( (preceding text of first "T" of it) of node value of select "a:EndDate/text()" of it )& ", Days Left: " & ( (if (it != "00:00:00") then it else "0 days") of (it as string) of (if (it > 0*day) then it else 0*day) of (( ((it as date) of (last 2 of it & " " & (substring (4,2) of it as integer as month as three letters) & " " & first 4 of it) of it) of (it as trimmed string) of (concatenation of substrings separated by "-" of it) of (preceding text of first "T" of it) of node value of select "a:EndDate/text()" of it ) - current date) ) ) of selects "/GetAssetWarrantyResponse/GetAssetWarrantyResult/a:Response/a:DellAsset/a:Warranties/a:Warranty" of xml documents of files "results_Dell_GetAssetWarranty.xml" of folders "__BESData\__Global\Logs" of parent folder of client
Relevance
Windows Only (Relevance 2997197)
/* Windows Only */ windows of operating system
/* Windows Vista or Higher */ version of operating system >= "6.0"
Used in 3 analyses | * Results in a true/false |
exists files "results_Dell_GetAssetWarranty.xml" of folders "__BESData\__Global\Logs" of parent folder of client
Sharing
Social Media: |
Comments
|
|
ok, I will give that a try and see what i can come up with. Thanks, |
|
|
If you remove `maxima of ` then it will return both dates |
|
|
Having a small problem with the "Warranty Expiration Date". When bigfix returns the results for this Field, i dont get the expected warranty. It returns the "DirectLine Service" warranty expiration date. Is there anyway to get it to return the "Client Gold Support / ProSupport"? I have been trying to tweak the relevance but unable to get the results i need. |
|
|
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 |
|
|
I got error from trying to download 7ZIP and curl. The URL provided does is not able to download the items. |
|
|
I got error from trying to download 7ZIP and curl. The URL provided does is not able to download the items. |