New-SCSpfEtwEvent

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

Syntax

New-SCSpfEtwEvent [-Confirm] -EventName <String> -ProviderName <String> [-WhatIf] [<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.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

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

-EventName

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

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

-ProviderName

Specifies an event provider.
Internal use only.

Type:String
Required:True
Position:Named
Default value:None
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
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False