netsh advfirewall firewall set rule group="Remote Administration" new enable=Yes
Update:
netsh advfirewall firewall set rule group="windows remote management" new enable=yes