Restart-VIApplianceService Command | Vmware PowerCLI Reference

Restart-VIApplianceService

This cmdlet restarts the specified appliance service(s).

Syntax

Restart-VIApplianceService
-ApplianceService < ViApplianceServiceInfo[] >
[-ProgressAction < ActionPreference > ]
[-Server < VIServer > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
ApplianceService ViApplianceServiceInfo[] named
  • pipeline
Specifies the appliance services to be restarted.
optional ProgressAction ActionPreference named
optional Server VIServer named
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default server. For more information about default servers, see the description of the Connect-VIServer cmdlet.

Output

ViApplianceServiceInfo

Examples

Example 1

Get-VIApplianceService crond | Restart-VIApplianceService

Retrieves the specified appliance service and restarts it.

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).