Remove OneDrive env: variable

This resolves issue #149
pull/156/head
Richard Newton 5 years ago committed by GitHub
parent 24de460dcd
commit ca4f7fcc6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
}
}

Loading…
Cancel
Save