Device information can be found in:
tblCustDevices
tblCustDevHD
tblCustDevPrinter
web40AllIPLocationsDev
An example on how to add devices through a script can be seen below. When executed in your configuration console under Lansweeper\Database Scripts, this script will add two devices of the type "SAN" with some rudimentary device information. You can add more fields to this if you wish.
Be cautious when executing scripts.
We recommend performing a database backup before making any changes through scripts.INSERT INTO [tblCustDevices] ([DeviceKey],[Ipaddress],[FirstSeen],[Devicetype],[State],[Displayname])
Values ('192.168.1.5\1','192.168.1.5',convert(datetime,'03/30/2012'),5,1,'SAN 1')
INSERT INTO [tblCustDevices] ([DeviceKey],[Ipaddress],[FirstSeen],[Devicetype],[State],[Displayname])
Values ('192.168.1.6\1','192.168.1.6',convert(datetime,'03/31/2012'),5,1,'SAN 2')