PowerShell Logo Small

Remove-NetEventSession



This is the built-in help made by Microsoft for the command 'Remove-NetEventSession', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Removes a network event session.

SYNTAX


Remove-NetEventSession [-AssociatedEventProvider [<CimInstance>]] [-CimSession [<CimSession[]>]] [-PassThru] [-ThrottleLimit [<Int32>]] [-Confirm] [-WhatIf]
[<CommonParameters>]
Remove-NetEventSession [-CimSession [<CimSession[]>]] [-PassThru] [-ThrottleLimit [<Int32>]] [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-NetEventSession [-Name] <String[]> [-CimSession [<CimSession[]>]] [-PassThru] [-ThrottleLimit [<Int32>]] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-NetEventSession cmdlet removes a network event session. The cmdlet also deletes all properties and objects associated with the session. A session controls how the
computer logs events and, optionally, network traffic, or packets.


You can have only one session at a time. Before you can add a network event session by using the New-NetEventSession cmdlet, remove an existing session.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=294398
Get-NetEventSession
New-NetEventSession
Set-NetEventSession
Start-NetEventSession
Stop-NetEventSession
Get-NetEventProvider

REMARKS

<

Examples


Example 1: Remove a session

PS C:\>Remove-NetEventSession -Name "Session38"



This command removes the session named Session38. The command removes all the configuration information associated with the session.