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.

Custom Inventory to Gather AD "Description" Field

Updated: 28 Oct 2009 | 1 comment
KSchroeder's picture
+4 4 Votes
Login to vote

On a recent forum thread, durkinr asked for a way to report on the "Description" found on his computer objects in Active Directory.  I put together the attached custom inventory XML file and a VBScript to populate the information into the registry.  To use this:

  1. Put both files in your Inventory Solution package (\\NSServer\NSCap\Bin\Win32\X86\Inventory Solution\)
  2. Update the AeXInvSolnAdm1.ini file (after making a backup first of course!) by adding the following two lines prior to the last line with AeXNSInvCollector.exe:
    wscript.exe //B GetADDescription.vbs
    aexcustinv.exe /in .\AeXADCompDesc.xml
  3. Save the AeXInvSolnAdm1.ini file

On the next update of the Inventory package and execution of that inventory task, you will begin gathering this data.  It will show up in the database in a table called "Inv_AeX_AD_Comp_Desc".  For a simple report utilizing this data:

SELECT vc.[Name], vc.[Domain], vc.[User], ad.[Description]
FROM vComputer vc
JOIN Inv_AeX_AD_Comp_Desc ad
ON vc.[Guid] = ad[._ResourceGuid]
ORDER BY vc.[Name] ASC

Hopefully this will come in handy for you if you do a lot of management of your computer objects within Altiris, or would like to report on them.

Comments

durkinr's picture
20
Apr
2011
0 Votes 0
Login to vote

Custom Inventory for Ad Computer Description on NS7 or SMP7.1

Here is the article that takes KSchroeder's script and adapts it to the new 7.x platform. The good news is that it is a lot less work in version 7 to create this custom inventory.