Microsoft made it easy to repair the client through WMI. All you need to do to repair the client on a remote machine is run this:

 $WMIPath = "\\" + $CompName + "\root\ccm:SMS_Client"
$SMSwmi = [wmiclass] $WMIPath
$SMSwmi.RepairClient()

Last edited Mar 10, 2013 at 8:02 PM by Ryan2065, version 2

Comments

No comments yet.