Good day!
What output do you get when you run: Get-TroubleshootingPack -Path C:\Windows\diagnostics\system\WindowsUpdate | Invoke-TroubleshootingPack ?
Have a good day!
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Dear Techs
I m trying to use PowerShell and automate windows update troubleshooter. The below command suppose to ask me questions to generate the answer file , but it just completes the execution as soon as i hit enter. The answer file just contains below couple of lines - which i believe is not helpful to automate the process.
<?xml version="1.0" encoding="UTF-8"?>
<Answers Version="1.0"/>
Has anybody successfully generated the answer file. Any help would be much appreciated. Thanks in advance !
Aravinth M
PS C:\WINDOWS\system32> Get-TroubleshootingPack -Path C:\Windows\diagnostics\system\WindowsUpdate -AnswerFile c:\temp\WUDAnswers.xml
Please answer the following questions
You will be asked a series of questions from the specified package. The answers you provide will be stored in an answer file that you can use to automate question responses during package execution
Press enter to continue
PS C:\WINDOWS\system32>
Good day!
What output do you get when you run: Get-TroubleshootingPack -Path C:\Windows\diagnostics\system\WindowsUpdate | Invoke-TroubleshootingPack ?
Have a good day!
Good day!
What output do you get with :
Get-TroubleshootingPack -Path C:\Windows\diagnostics\system\WindowsUpdate | Invoke-TroubleshootingPack
Have a good day!