Welcome to TechNet Blogs Sign in | Join | Help

Documenting your Task Sequences Automagically (Update - v2)

A big thank you to those of you that tested the original XSL for the TaskSequence documentor and provided feedback.

This is v2 and includes some bug fixes:
    - Formats orphan steps with no Group
    - Added recursive template for Nested conditions for both groups and steps (tested to 3 levels)
    - Properly convert Not to Nor for conditions

For those of you that haven't used it - here is a re-post of the instructions:

1. Copy the attached file at the bottom of the post to the same folder as your task sequence.

2. Open your task sequence in your favourite text editor.

3. After the first line which should look something like this:

<?xml version="1.0"?> or <?xml version="1.0" encoding="utf-8"?>

enter the following as the second line:

<?xml-stylesheet type="text/xsl" href="tsDocumentorv2.xsl" mce_href="tsDocumentorv2.xsl"?>

4. Save your task sequence file and open it in Internet Explorer. Presto! The XSL takes care of formatting, indents and sizing.

Disclaimer: The information on this site is provided "AS IS" with no warranties, confers no rights, and is not supported by the authors or Microsoft Corporation. Use of included script samples are subject to the terms specified in the Terms of Use. 

This post was contributed by Aly Shivji a consultant with Microsoft Services - U.S. East Region.

Published Friday, February 20, 2009 4:19 PM by DeploymentGuys

Attachment(s): tsDocumentorv2.xsl

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Documenting your Task Sequences Automagically (Update - v2)

Monday, February 23, 2009 4:29 AM by Trev Scott

Works a treat, only snag was my own fault.. copied text of xsl and created the file rather than saving the xsl from the link.

# Random Question

Thursday, February 26, 2009 1:03 PM by Fred

Sorry I can't find a better place to ask this.  As someone who has been deploying images for 8 years using sysprep, Bart Boot CD and Ghost, I can really appreciate what you do.  I have a single image that covers 700 dekstop and laptop models which is great.  I would really like to take my processes to the next step with PXE Boot, ImageX, etc.  Problem is, I just have too many questions and I find a lot of the documentation to be difficult to follow.  I'm stuck in Windows XP by corporate declaration so, I have to reach around to understand any differences between the Vista oriented docs.  Anyway, without getting any deeper, I'm really looking to have this question answered:

Is there any official training out there?  I have not seen such a thing.  I think I benefit most from classroom training and a lot of the subjects you cover assume I have a grasp on the basics of BDD (obviously I don't).

Thanks and sorry if this is the wrong place to ask such a question.. you're definitely the right guys

# re: Documenting your Task Sequences Automagically (Update - v2)

Thursday, February 26, 2009 4:47 PM by DeploymentGuys

Fred,

You may want to check out the Desktop Deployment Planning Service resources at https://iwsolve.partners.extranet.microsoft.com/ddps/Resources.aspx and/or try to find a DDPS certified partner in your area.

Good Luck,

Aly

# Thanks

Saturday, February 28, 2009 7:21 PM by Fred

Thanks Aly,

Never considered that there are consultants who could give me the knowledge, experience I crave.  We'll see what I can find and if I can convince my company to pay for such a thing.

# re: Documenting your Task Sequences Automagically (Update - v2)

Sunday, March 01, 2009 5:02 AM by Carl Walker

Fred,

I'd be glad to help with email or a phone conversation. There are some fundamentals with MDT and ConfigMgr OSD but once you have them the rest becomes common sense. As you have deployed builds before I reckon once you've had the opportunity to bounce your questions off someone you'll  be away, and this really is a great way to deploy your builds.

Cheers,

Carl

carl262 at hotmail dot com

# re: Documenting your Task Sequences Automagically (Update - v2)

Monday, March 09, 2009 12:27 PM by Sam

Great tool.  One question, though.  Is there a way to have a better visual separation between each task?  It all sort of runs together the way it is.  Even just a line between each one or alternating background colors.

# re: Documenting your Task Sequences Automagically (Update - v2)

Tuesday, March 17, 2009 11:28 AM by Sam

I dug a bit into how to do xsl formatting and found the answer to my question so figured I'd share it.

First, you need to set up the colors for the alternating rows.  To do this, replace the TD.step background color in the STYLE section with a TD.step_0 and TD.step_1.  Set them to the two colors that you want (I used FFF7E2 and FFF1BF which look OK).

Then go through the rest of the document and look for lines that say "Class = "step"" and replace them with "Class="step_{position()  mod 2}"

The code "position() mod 2" will return 0 for even lines, and 1 for odd lines, and use the background color step_0 or step_1 alternately.

It's much easier to read that way.

# re: Documenting your Task Sequences Automagically (Update - v2)

Tuesday, March 17, 2009 11:48 AM by DeploymentGuys

Thanks Sam!

- Aly

# re: Documenting your Task Sequences Automagically (Update - v2)

Tuesday, June 23, 2009 10:29 AM by Chris

This is an awesome tool.

To address Sam's quest a little further. I took each output and paste it into Excel. Then you can manipulate it however you want. In my case with SCCM I use 3 different tasks to get to a final product so this allowed me to put the whole process in excel so I have a final document to turn in.

Chris S.

# Document your MDT/OSD Task sequences

Tuesday, June 23, 2009 10:38 AM by Chris Stauffer at myITForum.com

This awesome little tool was posted on the email list today. &#160; http://blogs.technet.com/deploymentguys

# re: Documenting your Task Sequences Automagically (Update - v2)

Wednesday, December 16, 2009 8:54 AM by wdbradley3

Dumb question...  We are using the exported TS, to edit and put stuff in the second line.

Once we do add in the stuff in the second line, can that exported TS XML file STILL be used to import with, or, does the second line have to be removed?

Thanks!

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker