• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2709
  • Last Modified:

Simple Question - Deploy Script with SCCM

Good afternoon, my question is simple

Can I use System Center Configuration Manager to deploy a script (. Cmd or. Bat) to the workstations / servers.

In the case that if you can, where do I do?

Thank you
0
thor_08
Asked:
thor_08
  • 2
2 Solutions
 
U_ManssonCommented:
You can do this by creating a packages which runs the .bat or .cmd file. You then advertise that package to a collection.
0
 
thor_08Author Commented:
Thanks for your response, a last question, as I check when they were going to assign the package (. Cmd). I need to be before a given day or hour, I can do that?

THX!
0
 
U_ManssonCommented:
You can do a mandatory assignment and schedule the installation. You do that on your advertisement - Schedule Page.
0
 
Nate630Commented:
You can deploy a package/program that will do just about anything you do locally from the command line.  We often run .vbs and .bat files via SCCM.

You can also run just a command line (or a package w/out source files).  We have the command "gpupdate.exe /force" set up as a program.  Then we can kick off that program when ever necessary.

It might be good to note however, that it may be a better option to schedule a task locally on a server if you need to make sure a script is run at a certain time every day.  But, it's all dependent on your needs.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now