Less intense resetting of the Windows Update client
JasonG-Automox
August 26, 2019 at 5:56 pm UTC
The Invoke-TroubleshootingPack cmdlet runs a troubleshooting pack in either interactive or unattended mode. A troubleshooting pack determines the root causes of issues, resolves the issues, and verifies that the issues were resolved.
Eval
powershell8 lines
If (Test-Path "$env:allusersprofile\SoftwareDistribution")
{
Exit 0
}
Else {
Exit 1
}Remediatrion
powershell2 lines
#Stripped down very low level reset of windows update components
Get-TroubleshootingPack -Path $env:systemroot\diagnostics\system\WindowsUpdate | Invoke-TroubleshootingPack -UnattendedThis discussion is archived and closed to replies. Continue it in the Automox Community Slack.
Discuss on Slack