Restart-VMHostService

This cmdlet restarts the specified host services.

Syntax

-HostService  <HostService[]>
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
HostService
HostService[] named
  • pipeline
  • Specifies the host service you want to restart.

    Output

    VMware.VimAutomation.ViCore.Types.V1.Host.HostService

    Examples


    Example 1

    Restart-VMHostService -Service $vmHostService -Confirm:$false

    Restarts a host service.

    Related Commands

    Feedback

    Was this page helpful?