Firewall state for XP and Win 7

(imported topic written by jpeppers91)

Anyone doing anything with netsh firewall commands and netsh advfirewall to get firewall status?