netsh advfirewall firewall set rule group="Remote Administration" new Enable=yes
netsh advfirewall firewall set rule group="Remote Desktop" new Enable=yes
netsh advfirewall firewall set rule group="Remote Event Log Management" new Enable=yes
netsh advfirewall firewall set rule group="Remote Service Management" new Enable=yes
netsh advfirewall firewall set rule group="Remote Scheduled Tasks Management" new Enable=yes
netsh advfirewall firewall set rule group="Remote Volume Management" new Enable=yes
netsh advfirewall firewall set rule group="Windows Firewall Remote Management" new Enable=yes
netsh advfirewall firewall set rule group="Windows Management Instrumentation (WMI)" new Enable=yes
netsh advfirewall firewall set rule group="File and Printer Sharing" new Enable=yes
netsh advfirewall firewall set rule group="Performance Logs and Alerts" new Enable=yes
Friday, November 15, 2013
Powershell - Enable Firewall Rules
Labels:
PowerShell
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment