Retrieve the ServiceInstance Object on a vSphere Host
You can retrieve the
ServiceInstance
object to access the
ServiceContent
or to retrieve the current time on an
ESXi or
vCenter Server
system.
If you want to retrieve the current time, you
must retrieve a
ServiceInstance
object and call its
CurrentTime()
method. You can use the
Vim::get_service_instance()
subroutine to retrieve the object.