Which Windows 2008 Firewall Profile is Active

(imported topic written by FITZPAW91)

Hi,

I am trying to write an analysis to find out which the ACTIVE profile of the firewall is on a Windows 2008 server. Anyone have any ideas?

Thanks

William

(imported comment written by FITZPAW91)

Got it,

Here it is if anyone needs it in the future

if (current profile type of firewall = domain firewall profile type) then “Domain” else if (current profile type of firewall = public firewall profile type) then “Pubic” else if (current profile type of firewall = private firewall profile type) then “Private” else “No Profile Active”