header image

Troubleshooting answer files

Posted by: | March 10, 2009 | No Comment |

One extra thing we can do with the troubleshooting packs is create answer files.  Start by loading the module and mapping the drive as before.

Import-Module troubleshootingpack

New-PSDrive -Name tspack -PSProvider FileSystem -Root "C:\Windows\diagnostics\system" -Description "Maps to the troubleshooting packs"

We then run the pack to generate the answer files

$unplug = Get-TroubleshootingPack -Path tspack:\Networking -AnswerFile netanswers.xml

A lot of questions will be asked that may not be relevant to the question you are trying to answer. The pack can then be invoked

Invoke-TroubleshootingPack -Pack $unplug -AnswerFile netanswers.xml

I think this is something we will need to experiment with to determine when to use answer files and when to work interactively.

 

under: Windows 7