→ 🚀Are you a Lansweeper Champion?! Join our Contributor Program Sign up here!
‎12-16-2009 06:12 PM
FYI: Lansweeper 5.0 which is currently in beta will have this feature build-in for Dell, HP, Lenovo
<add key="DellWarrantyURL" value="http://xserv.dell.com/services/assetservice.asmx"/>
Usage: UpdateDellWarrantyInfo [options] [-verbose]
Options
-all
Will update the warranty information for all Dell computers in the Lansweeper
database.
-warrantyInfo
Will update the warranty information only for the Dell computers that have
empty warranty and purchase dates in the Lansweeper database.
-assetTag <assetTag>
Will update the warranty information for a single Dell computer based on the
asset tag. Must provide a single asset tag.
-computer <computerName>
Will update the warranty information for a single Dell computer based on the
computer name. Must provide a single computer name.
-verbose
Print troubleshooting information to the console.
-help
Will display this screen.
NOTE: If no options are provided, will update all Dell computers.
‎01-06-2010 03:59 PM
pvanlien wrote:
Hi corbett.
I somehow get an error listed below, any idea?
System.Data.SqlClient.SqlException: Line 1: Incorrect syntax near '('.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolea
n breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObj
ect stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cm
dHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, Tds
ParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, Run
Behavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBe
havior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehav
ior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult
result)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehav
ior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, S
tring method)
at System.Data.SqlClient.SqlCommand.ExecuteReader()
at UpdateDellWarrantyInfo.Program.Main(String[] args)
thanks in advance
‎01-06-2010 11:15 AM
‎01-06-2010 03:51 PM
asldesktop wrote:
The beta works fine now and I am provided with the following Dell data which is then placed into the custom fields in lansweeper.
C:\Program Files\lansweeper\>UpdateDellWarrantyInfo.exe -assetTag XXXXXY
06/01/2010 09:10:23+Query for: XXXXXY
06/01/2010 09:10:28 -Purchase Date: '7/30/2002'
06/01/2010 09:10:28 -Warranty Date: '7/30/2005'
Good job Corbett! Thanks for your help on this.
Will wait to see if it works for mrdaytrade as well?
‎01-05-2010 10:00 PM
objRequest.Proxy = System.Net.WebRequest.DefaultWebProxy;
‎01-05-2010 07:57 PM
‎01-05-2010 07:39 PM
‎01-05-2010 05:32 PM
‎01-05-2010 05:22 PM
‎01-05-2010 04:56 PM
‎01-05-2010 04:52 PM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now