Skip to content

Set-VrmsService

Synopsis

Get information about vSphere Replication appliance services

Syntax

Set-VrmsService [-serviceId] <String> [-state] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

The Set-VrmsService cmdlet retrieves information about the vSphere Replication appliance services.

Examples

Example 1

Set-VrmsService -serviceId hms -state stop

This example stops the hms service on the vSphere Replication appliance

Example 2

Set-VrmsService -serviceId hms -state start

This example starts the hms service on the vSphere Replication appliance

Example 3

Set-VrmsService -serviceId hms -state restart

This example restarts the hms service on the vSphere Replication appliance.

Parameters

-serviceId

The serviceId parameter The service to be configured.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-state

The state parameter The state of the service to be configured.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

Progress Action

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Common Parameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.