Solved

Need to force Inventory delta on clients.

Posted on 2009-07-07
2
980 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

Question has a verified solution.

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

Suggested Solutions

Problem Description: Actually I found the below issue with some customers after migration from SMS 2003 to SCCM 2007 and epically if they change site code, some clients may appear in the console with old site code, plus old sites still appearing …
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

710 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