PowerShell Logo Small

Get-NetEventSession



This is the built-in help made by Microsoft for the command 'Get-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

Gets network event sessions.

SYNTAX


Get-NetEventSession [[-Name] [<String[]>]] [-CimSession [<CimSession[]>]] [-ThrottleLimit [<Int32>]] [<CommonParameters>]
Get-NetEventSession [-AssociatedEventProvider [<CimInstance>]] [-CimSession [<CimSession[]>]] [-ThrottleLimit [<Int32>]] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-NetEventSession cmdlet gets network event sessions. A session controls how the computer logs events and, optionally, network traffic, or packets.


Use this cmdlet to display configuration settings for the session. The configuration settings include the following:

-- Whether the session writes logs to a local file or sends events to live display.
-- For local file logging, the maximum size and location of the .etl file.
-- The maximum number of buffers and size of a buffer.


You can also use this cmdlet to see if the session is running, such as after you run the Start-NetEventSession cmdlet.



<

RELATED LINKS

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

REMARKS

<

Examples


Example 1: Display settings for a session

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



This command displays the settings of the session named Session38.