Get-VIApplianceService Command | Vmware PowerCLI Reference

Get-VIApplianceService

This cmdlet retrieves the vCenter appliance services. You can filter services by name and state.

Syntax

Get-VIApplianceService
-Id < String[] >
[-ProgressAction < ActionPreference > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Id String[] named
optional ProgressAction ActionPreference named

Output

ViApplianceServiceInfo

Examples

Example 1

Get-VIApplianceService

Retrieves all appliance services of the vCenter Server system you are currently connected to.

Example 2

Get-VIApplianceService -Name systemd* -State Started

Retrieves all started appliance services that include 'systemd*' in their name from the vCenter Server system you are currently connected to.

Example 3

Get-VIApplianceService -Id '/VIServer=vsphere.local\administrator@10.23.82.124:443/ViApplianceService=sshd/'

Retrieves the appliance service with the specified Id.

Related Commands

VIApplianceService

This cmdlet retrieves the vCenter appliance services.

This cmdlet restarts the specified appliance service(s).

This cmdlet starts the specified appliance service(s).

This cmdlet stops the specified appliance service(s).