Avatar of Edward Pamias
Edward Pamias
Flag for United States of America asked on

I need to run an exe remotely using psexec

I want to run CCMClean.exe from a server on a remote PC, I need to remove SCCM from the PC and remove the CCM folders under Windows. If someone has a script (Powershell or VB) or even a bat file that would be great.

Just in case I was not clear. CCMClean is on a server  \\servername\client\ccmclean.exe  
And I want to run that on a remote PC to remove SCCM.
PowershellVB ScriptWindows OSSCCMPC

Avatar of undefined
Last Comment
ITSysTech

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
ITSysTech

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Edward Pamias

ASKER
this is good. Thanks!
ITSysTech

Your welcome. :)
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck