SCCM - Deploy All Applications to Test Device Group
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
}