RestartService Class

Definition

Activity to invoke the Microsoft.PowerShell.Management\Restart-Service command in a Workflow.

public sealed class RestartService : Microsoft.PowerShell.Activities.PSRemotingActivity
Inheritance

Inherited Members

Microsoft.PowerShell.Activities.PipelineEnabledActivity

Microsoft.PowerShell.Activities.PSActivity

Microsoft.PowerShell.Activities.PSRemotingActivity

Constructors

RestartService()

Gets the display name of the command invoked by this activity.

Properties

Exclude

Provides access to the Exclude parameter.

Force

Provides access to the Force parameter.

Include

Provides access to the Include parameter.

InputObject

Provides access to the InputObject parameter.

Name

Provides access to the Name parameter.

PassThru

Provides access to the PassThru parameter.

PSCommandName

Gets the fully qualified name of the command invoked by this activity.

ServiceDisplayName

Provides access to the ServiceDisplayName parameter.