Worklet: Invoke search repair troubleshooting pack
JasonG-Automox
October 11, 2019 at 3:58 pm UTC
Invokes Microsoft’s builting search repairs
• Under Evaluation Code:
powershell7 lines
If (Test-Path "$env:systemroot\SoftwareDistribution")
{
Exit 0
}
Else {
Exit 1
}• Under Remediation Code:
powershell3 lines
$logfile = "C:\Temp\"
Get-TroubleshootingPack -path "C:\Windows\Diagnostics\System\Search" | Invoke-TroubleshootingPack -Unattended -Result "$logfile"This discussion is archived and closed to replies. Continue it in the Automox Community Slack.
Discuss on Slack