Scripting Question

What software do you use to run a quick batch file or script on a remote computer or group of computers?

10/29/2013 3663 views

We're running SCCM 2012 now and I've found that there is no quick and easy way to just run a quick batch file or script on a computer or group of computers. I have to create a package and collection that I may never use again and it's not real time it may take an hour or more for the job to run. Anyway so I was wondering what others are using to run quick batch files or scripts on their remote network computers??

Answer Summary:
0 Comments   [ + ] Show comments


Community Chosen Answer


look at using pstools - psexec command

you can run it on a single or group of machines.

Answered 12/03/2013 by: SMal.tmcc
Red Belt

All Answers


You do not need to create a package, you can use the Scripting function of K1000

There a 3 possibilities.

  1. Offline KScripts
  2. Online KScripts
  3. Online Shell Scripts

See this output from KACE to decide what script type you need.

Offline KScripts will execute at a specific time based on each client's clock, and can even execute when the machine is not connected to the K1000, such as Machine Boot Up and User Login. They are built using a wizard. See more details in the KScript help below next to Policy and Job Rules. 

Online KScripts are built just like Offline KScripts, but will execute at a specific time based on the server clock instead of the client clock. Only machines that are connected at the designated time will be targeted for execution. 

Online Shell Scripts will execute at a specific time based on the server clock. Instead of building the script through the task wizard, shell scripts are simple text commands specific to the operating system. Batch files are supported on Windows, along with all manner of shell script formats supported by the specific operating system of the targeted machines.

Answered 12/03/2013 by: aragorn.2003
Red Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ