Start-SbecInstance

Starts the Setup and Boot Event Collector service.

Syntax

Start-SbecInstance
     [-PassThru]
     [-Service]
     [<CommonParameters>]

Description

The Start-SbecInstance cmdlet starts the Setup and Boot Event Collector service.

You must have the Builtin Administrator privilege to run this command.

Examples

Example 1: Start the Boot Event Collector

PS C:\> Start-SbecInstance -Service

This command starts the Boot Event Collector service.

Required Parameters

-Service

Starts the Setup and BEC service on the current computer.

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

Optional Parameters

-PassThru

Returns an object representing the started service. By default, this cmdlet does not generate any output.

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

Inputs

None.

Outputs

System.ServiceProcess.ServiceController