Schuff at myITforum.com

Blog it to log it!

Checking Task Sequence Package References for a DP

*Updated Script/post found here!:*   - Updated (4-27-2010)

Michael Niehaus posted a blog post that described how to use powershell to automate the checking and replicating of referenced packages in a task sequence to all DPs.   This was great work and the blog can be found here. Please read it first. :)

For our environment though we had multiple task sequence (including test task sequences) with nearly 100 distribution points.  Therefore we didn’t necessarily want all TS’s and their referenced packages to be copied to all DPs.  So all I did was took Michael’s posted powershell script and added prompts, allowing us to choose which TS and which DP to actually check and replicate to.  See screenshots and zip file below:

Also I am still quite new at Powershell so forgive any of my sloppy code and feel free to clean it up as necessary or if you see a better way of processing this. :)

Enter Server Name:

Server Name

Select Task Sequence

SelectTS

Select Distribution Point:

selectDP

Results text:

results

 

Download Powershell Script Here

 

P.S.  You will want to follow Michael’s instructions for making sure the SCCM module gets put into the proper location and also that execution policy gets set correctly.  Follow Michael’s blog to get this working first.

Comments

No Comments