# Functions
EnterMaintenanceMode puts a host into maintenance mode.
ExitMaintenanceMode takes a host out of maintenance mode.
FromID locates a HostSystem by its managed object reference ID.
GetConnectionState returns the host's connection state (see vim.HostSystem.ConnectionState).
HostInMaintenance checks a HostSystem's maintenance mode and returns true if the the host is in maintenance mode.
NameOrID is a convenience method mainly for helping displaying friendly errors where space is important - it displays either the host name or the ID if there was an error fetching it.
Properties is a convenience method that wraps fetching the HostSystem MO from its higher-level object.
ResourcePool is a convenience method that wraps fetching the host system's root resource pool.
SystemOrDefault returns a HostSystem from a specific host name and datacenter.