powershell run service code example Example: power shell service start Start-Service -Name "eventlog"