This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Warranty request script for Dell PCs | |
# Written by Adam Nielsen <[email protected]> | |
# This code is in the public domain, and is supplied with no warranty. | |
# | |
# This script uses Dell's web service to retrieve the most distant warranty expiration | |
# date for a given machine, as identified by its service tag. It requires curl and awk. | |
# It doesn't parse the WSDL or anything nice like that, it just sends a precomposed | |
# request to the server and extracts the relevant info from the response. |