Client Management Suite

 View Only
  • 1.  SQL/Report - Computer Name with Primary Account

    Posted Apr 14, 2016 04:08 PM

    Hi All,

    Is there a way to run a sql report on every computer managed by Altiris with the primary account attached to that computer?

     

    I need a list of all computers with the primary accounts user name.

     

    What would be the easiest way to get that information?



  • 2.  RE: SQL/Report - Computer Name with Primary Account

    Posted Apr 14, 2016 04:58 PM

    Create a new SQL report with this and see if it gets what you need. It is a big report with good info. It will return: Computer, OS, Type, Last User, MAC, IP, Make, Model, Serial Number.

    SELECT *
    FROM vComputer vc
    INNER JOIN vHWComputerSystem hw
    ON vc.Guid = hw._ResourceGuid
    WHERE hw.Model LIKE '%'
    AND vc.[OS Name] LIKE '%'
    AND vc.[System Type] LIKE '%'

     



  • 3.  RE: SQL/Report - Computer Name with Primary Account

    Posted Apr 18, 2016 11:01 AM
    Use the [Reports > Discovery and Inventory > Inventory > Windows > User > Primary User >] "Primary User by Computer" report. Right-click and "View as XML" to see the underlying SQL used.


  • 4.  RE: SQL/Report - Computer Name with Primary Account

    Posted Apr 19, 2016 01:32 PM

    Great thank you all for your help.