Solved

Need to force Inventory delta on clients.

Posted on 2009-07-07
2
961 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
ID: 24832634
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
ID: 24833553
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Remote Desktop Protocol or RDP has become an essential tool in many offices. This article will show you how to set up an external IP to point directly to an RDP session. There are many reasons why this is beneficial but perhaps the top reason is con…
Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

895 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

15 Experts available now in Live!

Get 1:1 Help Now