9/29/2006

Windows::Management


Find how long since you last restarted:
systeminfo | find "Up Time"

Labels: , , , ,

7/01/2005

Network::Cisco::IOS


I often want to look at how ports are configured on a switch, the descr, what vlan, etc.
"show run | include" type commands don't really help because the port config is on multiple lines.

The following are very useful, if only I could remember them:

show int status
show int summary

Labels: , ,