Documenting Task
Sequences Automagically
Load PowerShell from the Configuration Manager Console
1. Start by launching the Configuration Manager
console. In the upper left corner, there’s a blue rectangle. Click the white
arrow in the blue rectangle, and choose “Connect via Windows PowerShell”.
Run This Command
(Get-CMTaskSequence | Where-Object {$_.Name
-eq “<Name of the Task Sequence>”}).Sequence | Out-File
J:YourFileName1.xml
Follow these Steps
1. Copy this file to the same folder as your YourFileName1.xml.
4. 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"?>
5. Save your file and open it in Internet
Explorer.
The XSL takes care of formatting,
indents and sizing.