SCCM - Deploy All Applications to Test Device Group

SCCM 2012 Written by  September 03 2020 font size decrease font size increase font size
Rate this item
(0 votes)

For Anyone looking for a quick and easy way to deploy all you applications to a test deployment fire up your powershell ISE and connect to your SCCM DP.

The reason for me using this is when creating our golden image process when installing all our applications i notice that some fail.   by me having this in Software centre ready to go i can fire up a base image, install each application individually and see what error comes up.

 

 

$applications = Get-CMApplication | Select LocalizedDisplayName

foreach ($app in $applications){

#$app.LocalizedDisplayName

New-CMApplicationDeployment -CollectionName “Test Deployment” -Name $app.LocalizedDisplayName -DeployAction Install -DeployPurpose Available -UserNotification DisplayAll -AvailableDateTime (get-date) -TimeBaseOn LocalTime -Verbose

}

 

 

 

Read 1670 times Last modified on September 03 2020
Login to post comments