Client Management Suite

 View Only
  • 1.  Forcing a Hardware Inventory

    Posted Mar 10, 2017 01:11 PM

    I have an automation policy that checks the domain a machine is on, then also the Inv_HW_Chassis.[Chassis Package Type] to determine if it's a server. The policy then moves the system to a specific organizational group. The issue I have is I run the Full Server inventory and Hardware inventory delta on a quarterly/monthly basis. This means after a new system is built, it won't move to the organizational group until an inventory has been done. The lag time on this can be weeks. Is there an agent command line I could add to my image job so that when a new system comes online it runs a hardware inventory right away? I know I could use a newly discovered PC filter and clone an inventory policy with some aggressive settings, but if I could just run a command it would be easier.



  • 2.  RE: Forcing a Hardware Inventory

    Posted Mar 11, 2017 08:44 AM

    You can clone your Inventory Polices and apply them to All Computers with a Schedule of 00:00 No Repeat. Then they'll run once as soon as the PC is built.

    The other alternative would be to try and identify something in Basic Inventory you could use (IP address, Operating System) or maybe Active Directory import (OU etc).

    To run a hardware Inventory from the command line you'd need the Inventory Plug-in and a Policy to run against anyway.



  • 3.  RE: Forcing a Hardware Inventory

    Broadcom Employee
    Posted Mar 15, 2017 06:41 AM

    How about to create a custom Data Class and query Win32_SystemEnclosure on managed endpoint via Run Script task to get data into your custom Data Class and then parse data via custom SQL Filter and further resources target creation for their assignments in different OU based on their ChassisType?

    Example of custom script to get and send required data to custom Data Class:

     

     

     



  • 4.  RE: Forcing a Hardware Inventory
    Best Answer

    Trusted Advisor
    Posted Apr 03, 2017 08:45 AM

    @Brandon,

    Our imaging jobs run 'Gather Inventory HW & SW' - have you tried this as the first thing that happens once machine boots to production?  It does take some time to complete.

    I also have this script set up as a managed software delivery so techs can update hardware/user inventory if they are touching a machine.  For some reason if the HW/SW task doesn't work, you could build this into your image workflow

    "C:\Program Files\Altiris\Altiris Agent\Agents\Inventory Agent\InvSoln.exe" /dhi      

    This script collects software inventory (in case someone else is looking for that).  We similarly have this available for techs to run via a managed software delivery in the agent, but could easily be a task as well.

    "C:\Program Files\Altiris\Altiris Agent\Agents\Inventory Agent\InvSoln.exe" /dswi

     

     



  • 5.  RE: Forcing a Hardware Inventory

    Posted Apr 19, 2017 12:23 PM

    Thank you all for the suggestions. There are a lot of options to handle this. The most streamlined approach in my situation is the Gather Inventory task mentioned by Sally5432. I didn't realize that existed. Under the advanced options I just select the Inventory data classes > Hardware > Common > Chassis and unchecked only send delta's. The chasis information is populated in just 5 seconds so I can add that to my build job and the machines get moved to the proper organizatinal group much quicker now. Much appreciated.