service

The <service> inspectors provide access to all services configured on supported operating systems. Using an inspector for which there is no service results in an error referring to a nonexistent object.

  • Q: relay service
  • E: Singular expression refers to nonexistent object.

To avoid errors, check if the service exists before trying to use its inspector.

  • Q: exists relay service
  • A: False
Version Platforms
8.0.584.0 AIX, HP-UX, Red Hat, SUSE, Solaris, Windows
8.1.535.0 Debian, Ubuntu
9.5.13.130 Raspbian

Creation

all running service : service
all service : service
driver running service : service
driver service : service
main gather service : service
proxy agent service : service
relay service : service
running service : service
running service <string> : service
service : service
service <string> : service
webui service : service
win32 running service : service
win32 service : service

Properties

can interact with desktop of <service> : boolean
checkpoint of <service> : integer
display name of <service> : string
driver type of <service> : boolean
file of <service> : file
image path of <service> : string
login account of <service> : string
pid of <service> : integer
runlevel of <service> : string
running of <service> : boolean
security descriptor of <service> : security descriptor
service name of <service> : string
service specific exit code of <service> : integer
start type of <service> : string
state of <service> : string
version of <service> : version
win32 exit code of <service> : integer
win32 type of <service> : boolean

Casts

<service> as string : string