Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm doing some POC testing on a server 2012 environment, and during initial firewall configuration I find myself going to the GUI repeatedly when I'd really much rather be able to write a script. I've searched around but I can't find anything about new powershell commands in 3.0 nor anything via WMI.

Is there anything I'm missing or is this still largely a GUI-oriented task?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

Yes it is possible...

http://technet.microsoft.com/en-us/library/hh831755.aspx

Do a:

Get-Command *-*firewall*

to see various commands available as well.

share|improve this answer
    
Looks like this is what I was hoping to find! I'm surprised this didn't come up with even a basic search. Thanks! –  bwerks Nov 30 '12 at 19:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.