Jump to content


Whisky

Deploying Multiple Applications

Recommended Posts

Hi

 

I'm using SCCM 2012 R2.

 

I want to deploy multiple applications (30) to one collection but can't seem to do it. I can only do one application at a time. I've had a browse but can't seem to find out how you do it.

 

Any help would be appreciated

Share this post


Link to post
Share on other sites


You can't deploy multiple applications at the same time. Deployments for each application need to have deployment settings. If you want to roll multiple applications together without deploying individually, you could use a task sequence. If these are device based applications, have you thought about making a collection for each application, then including the collection with devices? This would set you up for more growth and control over individual applications.

Share this post


Link to post
Share on other sites

Thanks for the response.

 

It seems such an obvious thing that we would need to do. I was just being lazy and trying to save some time.

Share this post


Link to post
Share on other sites

Will try and dig it up and post it tomorrow

 

Powershell is so diverse and multifunctional you should try hard NOT to avoid it. Im no scripter but i managed to write a line of code that deploys a application to a collection at a set time within just 10mins with the help of some googling.

 

It could save you countless hours once you get the hang of it, best of all your management dont need to know you have free time :)

Share this post


Link to post
Share on other sites

Here is a powershell command that will deploy all applications that aren't expired and have the certain label to a collection that you provide.

 

 

(Get-CMApplication | Where-object { ($_.LocalizedCategoryInstanceNames -Contains "<your Catagory>") -and ($_.IsExpired -ne "True") } | Select LocalizedDisplayName | Sort-Object) | % { Start-CMApplicationDeployment -CollectionName "<Your Collection Name>" -Name "$($_.LocalizedDisplayName)" -AvailableDateTime "$(Get-Date -Format "M/d/yyyy HH:mm")" -TimeBaseOn LocalTime -DeployAction Install -DeployPurpose Required -SendWakeupPacket $True -OverrideServiceWindow $False -PreDeploy $True -RebootOutsideServiceWindow $False -UserNotification DisplaySoftwareCenterOnly -EnableMomAlert $False -RaiseMomAlertsOnFailure $False -PersistOnWriteFilterDevice $True }

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...