Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…at-Tools into develop
  • Loading branch information
LeDragoX committed Nov 22, 2023
2 parents 9bd5304 + b7b72c7 commit cc8d3df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/Invoke-DebloatSoftware.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ function Invoke-DebloatSoftware() {

If (!$Revert) {
$AdwCleanerDl = "https://downloads.malwarebytes.com/file/adwcleaner"
$AdwCleanerOutput = (Request-FileDownload -FileURI $AdwCleanerDl -OutputFile "adwcleaner.exe")[-1]
[String] $AdwCleanerOutput = (Request-FileDownload -FileURI $AdwCleanerDl -OutputFile "adwcleaner.exe")
Write-Status -Types "+" -Status "Running MalwareBytes AdwCleaner scanner..."
Start-Process -FilePath "$AdwCleanerOutput" -ArgumentList '/eula', '/clean', '/noreboot' -Wait
Start-Process -FilePath "$AdwCleanerOutput" -ArgumentList "/eula", "/clean", "/noreboot" -Wait
Remove-ItemVerified $AdwCleanerOutput -Force
}

Expand Down

0 comments on commit cc8d3df

Please sign in to comment.