heartbeat initiate
is there any script to initiate Heartbeat of client, manually.Thanks Shankar K
January 24th, 2011 4:16am
Hi Shankar,
You can use the following VB script to initiate the heartbeat discovery on a client.
Call RunDDRInventory()
Sub RunDDRInventory()
' Set the required variables.
actionNameToRun = "Discovery Data 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
Regards, Madan
Free Windows Admin Tool Kit Click here and download it now
January 24th, 2011 4:22am
If you want to run this on a remote computers(list of) ,you can do Via psexec ,see here how to use the script
http://eskonr.com/2011/01/how-to-trigger-sccm-machine-policy-or-hardware-inventory-action-agent-on-remote-computers///Eswar Koneti @ http://eskonr.com/
January 24th, 2011 5:24am
Download the Right-click tools, everything you will need is there.
http://myitforum.com/cs2/blogs/rhouchins/archive/2008/04/09/sccm-right-click-tools.aspxhttp://www.enhansoft.com/
Free Windows Admin Tool Kit Click here and download it now
January 24th, 2011 10:01am