mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-04 12:13:51 -05:00
add reset network with netsh (#768)
This commit is contained in:
@ -45,6 +45,7 @@ function Invoke-WPFButton {
|
||||
"WPFPaneluser" {Invoke-WPFControlPanel -Panel $button}
|
||||
"WPFUpdatesdefault" {Invoke-WPFUpdatesdefault}
|
||||
"WPFFixesUpdate" {Invoke-WPFFixesUpdate}
|
||||
"WPFFixesNetwork" {Invoke-WPFFixesNetwork}
|
||||
"WPFUpdatesdisable" {Invoke-WPFUpdatesdisable}
|
||||
"WPFUpdatessecurity" {Invoke-WPFUpdatessecurity}
|
||||
"WPFWinUtilShortcut" {Invoke-WPFShortcut -ShortcutToAdd "WinUtil"}
|
||||
|
11
functions/public/Invoke-WPFFixesNetwork.ps1
Normal file
11
functions/public/Invoke-WPFFixesNetwork.ps1
Normal file
@ -0,0 +1,11 @@
|
||||
function Invoke-WPFFixesNetwork {
|
||||
<#
|
||||
|
||||
.DESCRIPTION
|
||||
PlaceHolder
|
||||
|
||||
#>
|
||||
Write-Host "Reseting Network with netsh"
|
||||
netsh int ip reset
|
||||
netsh winsock reset
|
||||
}
|
Reference in New Issue
Block a user