Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Altiris CMS 7.0 - Script to force an agent to complete full inventory

Updated: 01 Aug 2011 | 2 comments
Darren Price's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

Can anyone advise how to make an agent complete and report a full inventory.

Basically after a workstation is imaged I want it to report a full inventory immediately.

Thanks,Darren

Comments

TGiles's picture
04
May
2011
1 Vote +1
Login to vote

Unfortunately there isn't a

Unfortunately there isn't a way in 7 to manually run an inventory scan using a script or command line. The 3 default schedules configured for inventory policies, do include a run once asap in them, so the agent will run the inventory as soon as it gets it's policy. Otherwise you can use a task to have the agent run an inventory immediately.

nicoled18's picture
04
May
2011
1 Vote +1
Login to vote

There is a Gather Inventory

There is a Gather Inventory task under Jobs and Tasks.  Inside the task, you can configure what specific items you want to inventory (I believe it is a delta be default, but you can go in and change this).  You could make this a task and have this run in the chain of tasks during your image sequence.

Also, it may be worth investigating/testing the InvSoln.exe file under Program files\Altiris\Altiris Agent\Agents\Inventory Agent.

If you run InvSoln.exe from a command line with a /?, you get a screen with command line options for the EXE.  One of them is /fi, which is Collect Full Inventory.  I've run it before, but not officially proven it out by checking whether the NS actually receives a full invnetory or not, but if the built in inventory task isn't an option for you for some reason, this might be worth pursuing.

 

Edit:

 

For the task, go to Manage > jobs and tasks, Right click, New > Task

Under Discovery and Inventory folder, there is a Gather Inventory task.  Create a new task with this and customize like you would for a full inventory policy.