This script will take a machine name from the input box and force the SMS client repair cycle on the remote machine based on Michael Niehaus's article below:
VBS Script:
strComputer = InputBox("Enter Client Machine To Repair")
Set SmsClient = GetObject("winmgmts://" & strComputer & "/Root/Ccm:SMS_Client")
SmsClient.RepairClient
WScript.Echo "Repair Is In Progress For " & UCase(strComputer)
Repair the SMS client
http://www.myitforum.com/articles/8/view.asp?id=6506
No Comments