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.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:System.Management.Automation.SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required: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:System.String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ProviderName

Specifies an event provider. Internal use only.

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

-WhatIf

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

Type:System.Management.Automation.SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object