2011-07-11: This method is now deprecated please go here: http://ninet.org/2011/07/dell-hp-warranty-info-in-sccm
LAST UPDATED: 2010-09-22
UPDATE 2010-09014: Dell have changed the layout to add an extra field in the contracts section so the scripts are broken
Version 2: work around for computer account that can’t access the internet http://ninet.org/2010/03/sccm-get-dell-warranty-info-v2/
I found a script and mof edit here: Sherry Kissinger’s Blog at myitforums.com
However when I tried it, it was completely broken all the data being returned in the wrong place. So I have rewritten it so that it is more modular and hopefully easier to maintain.
Now a bit of a disclaimer, my vbs skills are very rusty so the script works though it probably isn’t very efficient. So if you can suggest improvements please do and I’ll update the script as needed.
Although the code is long most of it is comments and “wscript.echo” statements for debugging, feel free to strip them out if you want something more compact.
I have also added the ability to dump the results to a csv file that you can collect with SCCM if you don’t want to capture from WMI.