Solved

Need to force Inventory delta on clients.

Posted on 2009-07-07
2
955 Views
Last Modified: 2013-11-21
Need to run a Hardware and Software inventory on a few collections.  I know I can force it to run out of schedule with a script, but I don't want to bring the server to its knees running a full inventory on the clients.  

Is there a script out there that will only perform a delta inventory for hardware/software together?
0
Comment
Question by:net1994
2 Comments
 
LVL 10

Expert Comment

by:JonLambert
Comment Utility
The client contains the history of it's hardware and software inventory.  If you initialise a hardware or software inventory via the Control Panel applet com object (as per the attached script code from the ConfigMgr SDK), the clients will only send the delta invnetory information (given they have already performed a full inventory at some stage)


Sub RunSoftwareInventory()
 

    ' Set the required variables.

    actionNameToRun = "Software Inventory Collection Cycle"
 

    ' Create the CPAppletMgr instance.

    Dim controlPanelAppletManager

    Set controlPanelAppletManager = CreateObject("CPApplet.CPAppletMgr")
 

    ' Get the available client actions.

    Dim clientActions

    Set clientActions = controlPanelAppletManager.GetClientActions()
 

    ' Loop through the available client actions. Run the matching client action when it is found.

    Dim clientAction

    For Each clientAction In clientActions

        If clientAction.Name = actionNameToRun Then

            clientAction.PerformAction  

        End If

    Next

    

    wscript.echo "Ran: " & actionNameToRun
 

End Sub

Open in new window

0
 
LVL 6

Accepted Solution

by:
anubhavsharma18 earned 250 total points
Comment Utility
http://myitforum.com/cs2/blogs/rhouchins/archive/2008/04/09/sccm-right-click-tools.aspx
http://myitforum.com/cs2/blogs/rhouchins/archive/2008/04/09/sccm-right-click-tools.aspx

Use SMS or SCCM right click tool, depending on what you have.
Install this tools
Open SMS/SCCM console and right click agent under collection and run inventory
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

1. Boot PC and press F10, select storage options and change the compatibility from “AHCI” to “IDE”, save and exit 2. Boot PC and press F12 3. Upon PXE display of searching for DHCP server, press Pause break to obtain MAC address 3. Open Configu…
The question has been asked on multiple occasions as to how best to do printing in a remote desktop or terminal services environment.   It seems that this particular question has plagued several people and most especially as Terminal Services, as…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now