What is the best way to install a windows service written in C# (in the standard way) on a remote machine, where I need to provide the username and password it should run as
Installutil called from WMI invoked from Powershell is one way to go.