How to change inventory time on one pc? (Full Version)

All Forums >> [Management Products] >> System Center Products >> System Center Configuration Manager



Message


bmoline -> How to change inventory time on one pc? (6/30/2008 6:24:18 PM)

Is there a way either through the admin console or at the workstation to change the time that one client is inventoried for both hardware and software?  (I don't want to change all the clients, just one).

Thanks.




mhudson -> RE: How to change inventory time on one pc? (6/30/2008 8:56:30 PM)

No, there is no way to do it for just one pc.  You would need to create an Advertisement and make it run an Inventory VbScript and set it up for that collection or individual computer.




wbracken -> RE: How to change inventory time on one pc? (7/1/2008 8:17:41 AM)

Another fairly rudimentary way would be to re-install the client around the time you wish inventory to run (assuming you have "simple" schedule setup on your server)




bmoline -> RE: How to change inventory time on one pc? (7/1/2008 10:01:09 AM)

Thank you William, that is what I thought. 




gjones -> RE: How to change inventory time on one pc? (7/1/2008 12:17:16 PM)

Why not just force the HW and SW inventor cycles to occur at the time you want them to occur, would that be easier than reinstalling the client?




bmoline -> RE: How to change inventory time on one pc? (7/1/2008 3:31:53 PM)

If you have a small amount of clients that could be an option but I would be weary of our 3000 workstations and 200 servers all doing hardware/software scans at the same time.

Thanks for replying though. 




jnelson993 -> RE: How to change inventory time on one pc? (7/1/2008 3:35:29 PM)

I don't think you're hearing him right...isn't it easier to kick off HW/SW inventory on any client you want (through a script/scheduled task/SMS program/etc.) than it is to REINSTALL?




bmoline -> RE: How to change inventory time on one pc? (7/1/2008 3:37:45 PM)

Yes, I misunderstood him then if that is what he was stating.  How does a scripted hw/sw scan affect the scheduled simple schedule?   




wbracken -> RE: How to change inventory time on one pc? (7/1/2008 4:02:48 PM)

It doesnt affect the standard scheduled time to force run it in betwen with a script. ;)




bmoline -> RE: How to change inventory time on one pc? (7/1/2008 5:28:30 PM)

What I'm trying to accomplish is to move the current hardware and software inventory to a different time on a single machine. 
Thanks.




wbracken -> RE: How to change inventory time on one pc? (7/1/2008 6:08:10 PM)

Then I believe the only way is like stated before, re-install the client.  ;)




gjones -> RE: How to change inventory time on one pc? (7/1/2008 6:52:55 PM)

quote:

ORIGINAL: wbracken

Then I believe the only way is like stated before, re-install the client.  ;)


No that is not correct. You can reset the time of your HW and SW inventor by forcing it to run on a PC. Then it will occur at the time of day when the next cycle occurs. This assume that you are running a simple Schedule and not a full schedule.

BTW even if you did have all 3000 WS do their HW and SW inventory all at the same time, yes it would cause a backlog in the system but it should only take an hour or so to catch up, so not a big deal.




jnelson993 -> RE: How to change inventory time on one pc? (7/1/2008 10:32:21 PM)

Garth is right.  Reinstalling isn't doing anything different than kicking it off manually.  Besides, the client won't STAY on that schedule either if you've got it set to a simple schedule.  If they leave the machine off for 3 days and turn it on 10:00am on Monday, the schedule is now roughly 10:00 am, but even then it will drift again.  So send the client a script or something that kicks off inventory at the time you want already! :)

And yeah, with 3000 clients you can have them all return inventory at the same time without any problem.  We have 7500 or more machines reporting inventory back every hour with no problems.  And the hardware we have now is like 5-6 years old (yeah, new stuff's on the way).

VBScript From Microsoft on how to kick off hardware inventory,
(Options for that sActionName in the script:)
Software Inventory Collection Cycle
MSI Product Source Update Cycle
Hardware Inventory Collection Cycle
Standard File Collection Cycle
Discovery Data Collection Cycle
Request & Evaluate User Policy
Request & Evaluate Machine Policy


On Error Resume Next

sActionName="Hardware Inventory Collection Cycle"

' Create a CPAppletMgr instance

Dim oCPAppletMgr
Set oCPAppletMgr = CreateObject("CPApplet.CPAppletMgr")

' Get the available ClientActions

Dim oClientActions
Set oClientActions = oCPAppletMgr.GetClientActions()

' Loop through the available client actions

Dim oClientAction
For Each oClientAction In oClientActions

' Is this the action we want to start?

If oClientAction.Name = sActionName Then

' Start the action

oClientAction.PerformAction
End If
Next






wbracken -> RE: How to change inventory time on one pc? (7/2/2008 7:59:27 PM)

I did not realize that forcing an inventory caused that to become the new time?  Good to know.  Much simpler than re-installing the client I suppose.  [;)]




bmoline -> RE: How to change inventory time on one pc? (7/8/2008 5:06:10 PM)

Thank you for all the replies. 

One last question, I do have it set to simple schedule and to run every 7 days.  Is the theory then if the workstation is off when it should be doing the inventory on that 7th day it will do it when it is next turned on? (Thus, changing the inventory time)
If it is off on the 3rd and 4th day but turned on the 5th day it will not do an inventory cycle until it hits the 7th day is that correct?  Let me know if I'm understanding this correctly.

Thanks again. 




jnelson993 -> RE: How to change inventory time on one pc? (7/8/2008 5:12:51 PM)

That's right.  If it's off, it will do it on startup (well, shortly after).  And if it's turned off and turned on after day 5 it still won't happen until day 7.




asalazar -> RE: How to change inventory time on one pc? (8/6/2008 7:59:25 PM)

No, there is no way to do it for just one pc.

That is no problem, the full scan only do one time. . .when the client install..

The others scans are deltas...




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.234375