I am using PsExec to access cmd on a Windows 7 computer on my network, and I want to turn on `File and Printer Sharing`, followed by the Windows firewall without having to get up and walk all the way to the computer.

What commands do I need to use to do this?

Thanks