Push a script out to group of machines immediately

sccm

I'm completely new to SCCM. We are not even using it at the moment but are looking at a combination of SCCM/WDS to replace our current imaging/management solution from HP called Altiris.

It looks like I can find info on just about everything we need for this to be our replacement except immediate script or package deployment. In Altiris, if I have a script or some files etc, that needs to be run NOW! I can just do that. I tell it what script to run, what files to copy where and select the groups or invidual machines and voila! It's done.

I can't seem to find any info on something like this in SCCM.

Is there a way to say, push out a powershell or vbscript file to a group of machines, immediately, without having to walk around to each of those machines and click on something in the client application?

Thanks,

Jason

Best Answer

To expand on @MDMoore313's answer, this does depend on how immediately "now" needs to be.

You can definitely and very easily set a package, or script, up to run as soon as any machine in a group, or collection, next calls back to the server to check for new jobs, but by default there is no way to send out a broadcast to all machines to run "NOW!".

After you've created your Package/Application in SCCM with your program or script in it, you create a Deployment that has the instructions in it with who to run this on, and when (amongst other settings), on the Scheduling page of the Deploy Software wizard you'll find the Assignment Schedule, where instead of setting a date/time you can pick "As soon as possible" which means that the assigned machines will start downloading and running this job as soon as they know about it:

Deployment Schedule: ASAP

The timing of this is dependant on your Client Policy Settings, these dictate how often your machines poll an SCCM Management Point to check for updated policy and new jobs. Even if you set a deployment to "As Soon As Possible" it won't be run by a machine until after it next polls the SCCM servers for updated policies.

In SCCM 2012 you can find the current "policy polling interval" by going to Administration -> Client Settings, selecting a relevant policy and then going to the Client Policy tab. (note if you're going to change any of these settings it is recommended to leave the Default Settings as they are and create a new Custom Device Setting to over-ride the default set).

Client Policy Settings

However SP1 for SCCM 2012 also has a new Client Notifications feature that is "a fast channel that a Configuration Manager administrator can use to notify clients to initiate time-sensitive tasks as soon as possible." Using this, after setting up a program/app and deployment (set to "As Soon As Possible" you can then right-click the Collection of PCs (or multi-select machines from within a collection) and select "Client Notification" "Download Computer Policy" to notify the machines that they should poll for new jobs immediately (you also get a pop-up notification showing how many of those machines are currently online and responding to notifications).

Download Computer Policy

More info here: Fast Channel for System Management - Client Notification in System Center 2012 Configuration Manager SP1