How can I pull specific information about one element in a PowerShell table

100 Views Asked by At

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"}

0

There are 0 best solutions below