|
|
@ -9,8 +9,8 @@ echo "Remove OneDrive" |
|
|
|
if (Test-Path "$env:systemroot\System32\OneDriveSetup.exe") { |
|
|
|
& "$env:systemroot\System32\OneDriveSetup.exe" /uninstall |
|
|
|
} |
|
|
|
if (Test-Path "$env:systemroot\System32\OneDriveSetup.exe") { |
|
|
|
& "$env:systemroot\System32\OneDriveSetup.exe" /uninstall |
|
|
|
if (Test-Path "$env:systemroot\SysWOW64\OneDriveSetup.exe") { |
|
|
|
& "$env:systemroot\SysWOW64\OneDriveSetup.exe" /uninstall |
|
|
|
} |
|
|
|
|
|
|
|
echo "Removing OneDrive leftovers" |
|
|
|