소스 검색

Added removal of OneDrive Env: variable

This resolves issue #149
Richard Newton 6 년 전
부모
커밋
24de460dcd
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Windows10DebloaterGUI.ps1

+ 2 - 0
Windows10DebloaterGUI.ps1

@@ -1266,6 +1266,8 @@ $RemoveOnedrive.Add_Click( {
         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
     })
 
 $InstallNet35.Add_Click( {