Allow powershell scripts to be executed from remote machine
To allow remote machines to execute PowerShell scripts on your machine, the Windows firewall should not block port numbers 5985,5986.
You can open up the ports by following the instructions at http://windows.microsoft.com/en-in/windows7/open-a-port-in-windows-firewall
or using the following PowerShell scripts -