How do I display only the connect status from netsh show interface command?

Viewed 42

I am brand new to batch and I am trying to isolate the connect status of my ethernet. Currently, I when I do the command

netsh interface show interface "Ethernet0"

and it is displaying:

Ethernet0
    Type:                 Dedicated
    Administrative state: Disabled
    Connect state:        Disconnected

I want to only isolate the connect state status, so I want the output to only be "Disconnected" in this situation. How would I go about doing this?

0 Answers
Related