Return Values
Citrix.Storefront.Sdk.Service
The Get-SfServiceInstance command returns an object containing the following properties.
Uid <Integer>
Specifies the unique identifier for the service in the group. The unique identifier is an index number.
ServiceHostId <Guid>
Specifies the unique identifier for the service instance.
DNSName <String>
Specifies the domain name of the host on which the service runs.
MachineName <String>
Specifies the short name of the host on which the service runs.
CurrentState <Citrix.Fma.Sdk.ServiceCore.ServiceState>
Specifies whether the service is running, started but inactive, stopped, or failed.
LastStartTime <DateTime>
Specifies the date and time at which the service was last restarted.
LastActivityTime <DateTime>
Specifies the date and time at which the service was last stopped or restarted.
OSType
Specifies the operating system installed on the host on which the service runs.
OSVersion
Specifies the version of the operating system installed on the host on which the service runs.
ServiceVersion
Specifies the version number of the service instance. The version number is a string that reflects the full build version of the service.
DatabaseUserName <string>
Specifies for the service instance the Active Directory account name with permissions to access the database. This will be either the machine account or, if the database is running on a controller, the NetworkService account.
Sid <string>
Specifies the Active Directory account security identifier for the machine on which the service instance is running.
ActiveSiteServices <string[]>
Specifies the names of active site services currently running in the service. Site services are components that perform long-running background processing in some services. This field is empty for services that do not contain site services.