@@ -6,11 +6,10 @@ $tx= @"
66|_|  \___/  \_/\_/ \___||_|        /__/\__||_|  |_||_|    \__| 
77
88            Github: https://github.com/schsoak 
9-             v:1.0.0  
9+             v:1.0.1  
1010            BY: ~#M?x 
11- 
12-             [1] Wsl             [2] Firewall rules 
13-             [3] Browser Install [4] Drive Reset 
11+     [1] Wsl             [2] Firewall rules [5] NetReset 
12+     [3] Browser Install [4] Drive Reset    [6] Disk Verification  
1413"@ 
1514
1615Write-Host  $tx 
204203|___/|_|  \___/  \_/\_/ /__/\___||_|   
205204Github: https://github.com/schsoak 
206205BY: ~#M?x 
207- 
206+ [❤] Buy Me A Coffee: https://www.buymeacoffee.com/m100047r 
208207"@ 
209208Write-Host  $bs 
210209Start-Sleep  3  >  $null 
@@ -393,6 +392,90 @@ try {
393392catch  {
394393    <# Do this if a terminating exception happens#> 
395394    Write-Host  "  ⚠ Haven Problem, maybe you dont start with administrator ⚠ " 
396- }
397-     
398395}}
396+ 
397+ 5 {
398+ 
399+ clear
400+ $netreset  =  @" 
401+  _  _       _                       _    
402+ | \| | ___ | |_  _ _  ___  ___ ___ | |_  
403+ | .  |/ -_)|  _|| '_|/ -_)(_-// -_)|  _| 
404+ |_|\_|\___| \__||_|  \___|/__/\___| \__| 
405+ 
406+ Github: https://github.com/schsoak 
407+ BY: ~#M?x    
408+ 
409+ "@ 
410+ 
411+ Write-Host  $netreset 
412+ 
413+ if  ($true ){
414+ 
415+ netsh winsock reset all
416+ netsh int 6to4 reset all
417+ netsh int ipv4 reset all
418+ netsh int ipv6 reset all
419+ netsh int httpstunnel reset all
420+ netsh int isatap reset all
421+ netsh int portproxy reset all
422+ netsh int tcp reset all
423+ netsh int teredo reset all
424+ netsh int ip reset
425+ netsh interface reset all
426+ 
427+ Write-Host 
428+ Write-Host  " ✔ Verification completed!" 
429+ Write-Host 
430+ 
431+ }else  {
432+     Write-Host  "  ⚠ Haven Problem, maybe you dont start with administrator ⚠ " 
433+ }
434+ 
435+    
436+ }
437+ 
438+ 6 {
439+ 
440+ e$hd  =  @" 
441+ 
442+ ___   _      _                         _   __  _            _    _             
443+ |   \ (_) ___| |__      __ __ ___  _ _ (_) / _|(_) __  __ _ | |_ (_) ___  _ _   
444+ | |) || |(_-/| / /      \ V // -_)| '_|| ||  _|| |/ _|/ _` ||  _|| |/ _ \| ' \  
445+ |___/ |_|/__/|_\_\       \_/ \___||_|  |_||_|  |_|\__|\__/_| \__||_|\___/|_||_| 
446+ Github: https://github.com/schsoak 
447+ BY: ~#M?x    
448+ "@ 
449+ 
450+ Write-Host  $hd 
451+ 
452+ if  ($tru ){
453+ Write-Host  " [*] Sfc /ScanNow 1/4" 
454+ Start-Sleep  2  >  $null 
455+ Sfc / ScanNow
456+ clear
457+ Write-Host  " [*] dism /online /cleanup-image /scanhealth 2/5" 
458+ Start-Sleep  2  >  $null 
459+ dism / online / cleanup- image / scanhealth
460+ clear
461+ Write-Host  " [*] dism /online /cleanup-image /restorehealth 3/5" 
462+ Start-Sleep  2  >  $null 
463+ dism / online / cleanup- image / restorehealth
464+ clear
465+ Write-Host  " [*] dism /online /cleanup-image /restorehealth 4/5" 
466+ Start-Sleep  2  >  $null 
467+ dism / Online / Cleanup- Image / CheckHealth
468+ clear
469+ Write-Host  " [*] Chkdsk 5/5" 
470+ Start-Sleep  2  >  $null 
471+ chkdsk
472+ clear
473+ Write-Host  " ✔ Verification completed!" 
474+ }else  {
475+     Write-Host 
476+     Write-Host  "  ⚠ Verification failed" 
477+ }
478+ 
479+ }
480+ 
481+ }
0 commit comments