Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

SQL Query for Dell Client Manager

Updated: 25 Nov 2008 | 2 comments
networkchic's picture
+1 1 Vote
Login to vote

I've created a SQL query that joins all the important info one might need from the Dell Client Manager Solution. It's much easier than using the NS reports. FYI the rd table refence is a join to an outside database so you can take it out and the query will still work.

This is a general query which should run on any database.

License: AJSL
By clicking the download link below, you agree to the terms and conditions in the Altiris Juice Software License
Support: User-contributed tools on the Juice are not supported by Altiris Technical Support. If you have questions about a tool, please communicate directly with the author by visiting their profile page and clicking the 'contact' tab.

Comments

kpjernigan's picture
25
Nov
2008
0 Votes 0
Login to vote

Missing table

SQL query is missing a table.

"rd.login_name as 'User'
rd.Equip_status"

There's nothing in FROM named as "rd"

-Kev

Eshwar's picture
26
Nov
2008
2 Votes +2
Login to vote

Getting Primary User on the machine

You can actually JOIN [inv_aex_ac_primary_user] table inorder to get the PRIMARY USER of the machine.
Following is the modified query:

SELECT d.Manufacturer, d.Model, vc.Name as 'Workstation', PU.[User], b.BuildNumber as 'Bios Version', hd.DeviceID, hd.Model as 'Hard Drive Model', hd.Partitions, hd.MediaType, hd.totalPhysicalSize

FROM Inv_OMCA_Discovery d

JOIN Inv_OMCA_BIOS_Element b ON b._ResourceGuid = d._ResourceGuid
JOIN Inv_OMCA_Disk_Drive hd ON hd._ResourceGuid = d._ResourceGuid
JOIN vcomputer vc ON vc.Guid = d._ResourceGuid
JOIN [inv_aex_ac_primary_user] PU ON PU.[_ResourceGuid] = vc.Guid

WHERE PU.[Month] = datename(month, getdate())

ORDER BY d.Model, vc.Name

Thanks,
Eshwar