Sorry if the title isn't the best header, I wasn't sure how to word the question. But I am wanting to pull only information on the NlMtuByes
section of a table PowerShell presents when I type the command get-netipinterface -addressfamily "IPv4"
. The line of code im looking to incorporate with that information is the following.
Get-NetIPInterface -interfacealias "Ethernet*" -addressfamily "IPv4" | ForEach-Object(If(NlMtuBytes -eq "1500"){Write-Host "Good to Go"}