Powershell: Export a list of all dependencies for a Configuration Manager 2012 Task Sequence

Here is a Powershell script I wrote the other day which exports a list of all dependencies for a specific Task Sequence to a CSV file.

How to run it:

1. Run the script using .\Export-Task_Sequence_Dependencies.ps1 -TSID “Task Sequence Package ID”
2. Open dependencies.csv to find the dependencies for the given Task Sequence.

Please provide any feedback you might have.

You can also find the script in the TechNet Gallery.

One Response

  1. boujdoun


    I would like his SVP when we have the number 4 in the column of References

    Does this mean that the application is used elsewhere and 4 times in SCCM?

    If so is there a powershell script that allows you to retrieve all applications that are not using (0)
    Thank you for your help

Leave a Reply