Public/Reset-NetworkStack.ps1
function Reset-NetworkStack { <# .SYNOPSIS -Taylor Lee Modified 05172019 .DESCRIPTION Resets the TCP/IP and Winsock Stacks .Link Reset-NetworkAdapter #> [CmdletBinding()] param ( ) #Check For Admin Privleges Get-Elevation netsh.exe winsock reset netsh.exe int ip reset netsh.exe int ipv4 reset reset.log netsh.exe int ipv6 reset reset.log Write-Host "You need to restart the computer now" -foregroundcolor yellow } |