4

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?

5

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.

  • 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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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