SCCM EXE files and RUN Commands

Overview

Function SCCM Version               Command
Configuration Manager  Client Properties  SCCM 2012 or SCCM CB C:\Windows\CCM\SMSCFGRC.cpl
SCCM (ConfigMgr)  Evaluation   SCCM 2012 or SCCM CB %windir%\CCM\CcmEval.exe
SCCM ClientConsoles   SCCM 2012 or SCCM CB %windir%\CCM\SCClient.exe
SMS Agent Host Restart (x64 & x86)  SCCM 2007 %windir%\System32\CCM\CcmRestart.exe %windir%\SysWOW64\CCM\CcmRestart.exe

SCCM (ConfigMgr) Client Repair - Command Line/ VB script / Powershell

 SCCM 2007 %windir%\System32\CCM\ccmrepair.exe %windir%\SysWOW64\CCM\ccmrepair.exe
SCCM (ConfigMgr) show notification    SCCM 2012 or SCCM CB %windir%\CCM\SCToastNotification.exe  "Title" "Message"
Client ConfigMgr console Properties   SCCM 2007  %windir%\System32\CCM\SMSCliUI.exe %windir%\SysWOW64\CCM\SMSCliUI.exe
Run Advertised Program (x64 & x86)   SCCM 2007  %windir%\System32\CCM\SMSRAP.CPL %windir%\SysWOW64\CCM\SMSRAP.CPL
Task Sequence Progress Bar (x64 & x86)   SCCM 2007  %windir%\System32\CCM\TsProgressUI.exe %windir%\SysWOW64\CCM\TsProgressUI.exe

Notice that the CCM folder of SCCM 2007  is located on %windir%\System32\ or %windir%\SysWOW64\ and for SCCM 2012 or later it's located on %windir%\CCM\
 
This command can be used on a script like vbscript or PowerShell

Scripts

policy.vbs

On Error Resume NextDim oCPAppletMgr Set oCPAppletMgr = CreateObject("CPApplet.CPAppletMgr")Dim oClientActions
Set oClientActions = oCPAppletMgr.GetClientActions() Dim oClientAction For Each oClientAction In oClientActions If oClientAction.Name = "Request & Evaluate Machine Policy" ThenoClientAction.PerformAction End IfNext

Code Snippet

function repairclient([String] $strComputer) {
$SMSCli = [wmiclass] "\\$strComputer\root\ccm:sms_client"
$SMSCli.RepairClient()
}