Solved

Need to force Inventory delta on clients.

Posted on 2009-07-07
2
969 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

Suggested Solutions

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip is around source server preparation. No migration is an easy migration, there is a…
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found listed in my profile here: http:…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

803 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