You are here:   Research
  |  Login

Welcome to my blog, quickest way to find articles is usually to search for them.

Search in All Title Contents

Listing applications configured for Task Sequence deployments

Jul 24 2014

Of course you should not be deploying applications, but rather packages in your ConfigMgr 2012 (SCCM) task sequences. But if you do, you can use this little PowerShell script to list applications that have the AutoInstall property set to True, meaning being configured for task sequence deployment.

The Script

$AppList = Get-CMApplication

foreach ($App in $AppList)
    if ($App.SDMPackageXML  -like '*<AutoInstall>true</AutoInstall>*') 
        Write-Output $App.LocalizedDisplayName 

Note #1: If you want to list applications not configured for AutoInstall, just change the operator to –notlike.

Note #2: If you have many applications (like hundreds), the Get-CMApplication cmdlet is quite slow. To get some speedy result, you can also query the fn_ListLatestApplicationCIs(1033) SQL function directly in the ConfigMgr database. Fellow MVP Torsten Meringer have a nice post (in German) here:

Running the script.

The above script enumerates all applications that have the below setting (Allow this application to be installed from the Install Application task sequence without being deployed).

An application configured for task sequence deployment.


/ Johan

Happy deployment, and thanks for reading!

What our lawyers makes us say:

This information is provided "AS IS" with no warranties, confers no rights and is not supported by the authors or Deployment Artist.

Copyright © 2017 by Deployment Artist (the company behind deployment research). All rights reserved. No part of the information on this web site may be reproduced or posted in any form or by any means without the prior written permission of the publisher.

Shorthand: Don't pass off our work as yours, it's not nice.

Blog Archive