Functions/Set-MTU.ps1
|
function Set-MTU { <# .NOTES Author: Skyler Hart Created: 2020-05-12 20:56:13 Last Edit: 2020-05-12 20:56:13 Keywords: Requires: -RunAsAdministrator .LINK https://wanderingstag.github.io #> [CmdletBinding()] Param ( [Parameter( Mandatory=$false, Position=0 )] [int32]$Size = 1500 ) Set-NetIPInterface -AddressFamily IPv4 -NlMtuBytes $Size } |