Added removal of OneDrive Env: variable

This resolves issue #149
This commit is contained in:
Richard Newton 2019-06-13 19:44:46 -07:00 committed by GitHub
parent 44f7b8050f
commit 24de460dcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1266,6 +1266,8 @@ $RemoveOnedrive.Add_Click( {
Write-Host "Restarting Explorer that was shut down before." Write-Host "Restarting Explorer that was shut down before."
Start-Process explorer.exe -NoNewWindow Start-Process explorer.exe -NoNewWindow
Write-Host "OneDrive has been successfully uninstalled!" Write-Host "OneDrive has been successfully uninstalled!"
Remove-item env:OneDrive
}) })
$InstallNet35.Add_Click( { $InstallNet35.Add_Click( {