Solved

Simple Question -  Deploy Script with SCCM

Posted on 2008-10-16
4
2,565 Views
Last Modified: 2013-11-21
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
Comment
Question by:thor_08
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 8

Expert Comment

by:U_Mansson
ID: 22738193
You can do this by creating a packages which runs the .bat or .cmd file. You then advertise that package to a collection.
0
 
LVL 2

Author Comment

by:thor_08
ID: 22739740
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
 
LVL 8

Assisted Solution

by:U_Mansson
U_Mansson earned 200 total points
ID: 22739799
You can do a mandatory assignment and schedule the installation. You do that on your advertisement - Schedule Page.
0
 
LVL 2

Accepted Solution

by:
Nate630 earned 300 total points
ID: 22753940
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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found listed in my profile here: http:…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

742 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question