Removed .\ from taskkill

This commit is contained in:
Richard Newton 2019-03-16 23:24:35 -07:00 committed by GitHub
parent 381375349d
commit 837994bf26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -596,7 +596,7 @@ Function UninstallOneDrive {
Start-Sleep 2
Write-Output "Stopping explorer"
Start-Sleep 1
.\taskkill.exe /F /IM explorer.exe
taskkill.exe /F /IM explorer.exe
Start-Sleep 3
Write-Output "Removing leftover files"
Remove-Item "$env:USERPROFILE\OneDrive" -Force -Recurse