Remove OneDrive env: variable

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

View File

@ -660,6 +660,8 @@ Function UninstallOneDrive {
Write-Host "Restarting Explorer that was shut down before."
Start-Process explorer.exe -NoNewWindow
Write-Host "OneDrive has been successfully uninstalled!"
Remove-item env:OneDrive
}
}