Yeah I use this, works well. Just need that .xsl file. 

http://blogs.technet.com/b/deploymentguys/archive/2009/02/20/update-to-the-tasksequence-documentor.aspx#pi36647=2
 

Note the fix for 2012 in the 2nd page of the comments:

I think I may have found an easier (and quicker) way to create the XML file.
 
1) Load the SCCM PowerShell module
 
2) Connect to your site
 
3) $TS = Get-CMTaskSequence -Name "<Your Task Sequence Name" | select 
-ExpandProperty Sequence
 
4) Write-Output '<?xml-stylesheet type="text/xsl" href="tsDocumentorv2.xsl"?>' 
| Out-File "C:\temp\TaskSequence.xml"
 
5) Write-Output $TS | Out-File "C:\temp\TaskSequence.xml" -Append
 
6) Ensure you have a copy of the stylesheet in the same directory as your xml 
file
 
7) Open the xml file in Internet Explorer

Daniel Ratliff

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Todd Hemsell
Sent: Wednesday, May 21, 2014 3:40 PM
To: [email protected]
Subject: [mssms] Document a Task Sequence

Anyone have a script to output the steps in a TS? Seems like this would be a 
powershell script one of you would have made, or a report.

A manager is *insisting* on it and I really do not want to do it. Any help 
appreciated.

/Todd




The information transmitted is intended only for the person or entity to which 
it is addressed
and may contain CONFIDENTIAL material.  If you receive this 
material/information in error,
please contact the sender and delete or destroy the material/information.

Reply via email to