New-Service -Name testService -Description "This is a test service" -BinaryPathName "C:\Windows\system32\svchost.exe -k netsvcs -p" -DisplayName ExecutNote -StartupType Automatic
执行删除/启动: sc delete testService / sc start testService