New-SCSpfEtwEvent

Adds a new event for ETW logging. Internal use only.

Syntax

New-SCSpfEtwEvent
   -ProviderName <String>
   -EventName <String>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The New-SCSPFETWEvent cmdlet adds an event for Event Tracing for Windows (ETW) to the event log. This cmdlet is for internal use only and not meant for use by administrators.

Examples

1:

PS C:\># The New-SCSPFETWEvent cmdlet is for internal use only.

Required Parameters

-EventName

Specifies the name of the event to add to the ETW event log. Internal use only.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ProviderName

Specifies an event provider. Internal use only.

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

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

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