How to migrate Windows Server 2008 (and Windows 7) firewall exceptions to a new environment?
- SQL Server
- remote access?
Is if possible to use scripts like powershell?
wf.msc allows remote management of Windows Firewall running on other computers. You could connect and then use copy/paste to paste rules to the remote machine.
The easier alternative though is to use Windows Firewall's import/export feature (either via wf.msc or through netsh: "netsh advfirewall export c:\somedir\rules.wfw").