The script currently has two modes, single lookup and batch lookup.
Single lookup takes two arguments:
- --host HOSTNANE
- --svctag SERVICE_TAG
- --file FILE
$ ./query_dell_st.rb --svctag GT7D8P1 --host lin-srv01 Host: lin-srv01 Model: PowerEdge R410 Service Tag: GT7D8P1 Warranty Exp: 617 days left
Over the next few days I'll add more features (CSV and tab delimited output, for example) as well as address bugs and error handling.
Hopefully the script is useful to others.