Skip to content

Commit

Permalink
Create netreset.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
suchsoak authored Oct 23, 2023
1 parent 5252b02 commit 3b6135a
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions powershell/netreset.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
clear
$netreset = @"
_ _ _ _
| \| | ___ | |_ _ _ ___ ___ ___ | |_
| . |/ -_)| _|| '_|/ -_)(_-// -_)| _|
|_|\_|\___| \__||_| \___|/__/\___| \__|
Github: https://github.com/schsoak
BY: ~#M?x
"@

Write-Host $netreset

if ($true){

netsh winsock reset all
netsh int 6to4 reset all
netsh int ipv4 reset all
netsh int ipv6 reset all
netsh int httpstunnel reset all
netsh int isatap reset all
netsh int portproxy reset all
netsh int tcp reset all
netsh int teredo reset all
netsh int ip reset
netsh interface reset all

Write-Host
Write-Host "✔ Verification completed!"
Write-Host

}else {
Write-Host " ⚠ Haven Problem, maybe you dont start with administrator ⚠ "
}

0 comments on commit 3b6135a

Please sign in to comment.