Skip to main content

Windows Update Troubleshooter

  • September 8, 2021
  • 0 replies
  • 262 views

jack.smith
Forum|alt.badge.img+1

This will kick off the Windows Update Troubleshooter process and attempt to report back results of the process into the activity log.


Remediation Code


$tsp = Get-TroubleshootingPack C:\Windows\diagnostics\system\WindowsUpdate

Invoke-TroubleshootingPack -Pack $tsp -AnswerFile .\WUDAnswers.xml -Unattended -Result $env:HomeDrive\WUDResult



[xml]$xml = Get-Content $env:HomeDrive\WUDResult\ResultReport.xml

$xml.ResultReport.Package.Problem.DetectionInformation.DetailedInformation.Detail.Contents.Objects.Object | % { write-output $_.'#text';write-output ". " }

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings