title: Get static ipaddress, subnetmask, and gateway when media is disconnected
body: <p>Is there a way to query via the command line what the current ip address, subnet mask, and default gateway are when the media is disconnect from the port?</p>
  
  <p>I have tired <code>ipconfig</code>,</p>
  
  <pre><code>Ethernet adapter Local Area Connection:
  
     Media State . . . . . . . . . . . : Media disconnected
     Connection-specific DNS Suffix  . : 
  </code></pre>
  
  <p><code>netsh interface ip show addresses</code> which does show the gateway but not the subnet or ip address,</p>
  
  <pre><code>Configuration for interface "Local Area Connection"
      DHCP enabled:                         No
      Default Gateway:                      192.168.6.17
      Gateway Metric:                       1
      InterfaceMetric:                      5
  </code></pre>
  
  <p>and <code>netsh interface ip show config</code> </p>
  
  <pre><code>Configuration for interface "Local Area Connection"
      DHCP enabled:                         No
      Default Gateway:                      192.168.6.17
      Gateway Metric:                       1
      InterfaceMetric:                      5
      Statically Configured DNS Servers:    None
      Register with which suffix:           Primary only
      Statically Configured WINS Servers:   None
  </code></pre>
  
  <p>The GUI shows the ip addess, subnet mask, and default gateway when the media is disconnected. Is there a command to get the same information on the command line?</p>