I want to create a Windows Service using Powershell. Creating it for a given user is piece of cake. I used this function adapted from here.
function Reinstal
The correct name of the account is NT AUTHORITY\NETWORK SERVICE.
NT AUTHORITY\NETWORK SERVICE