< Back
Remove-NetEventSession
Post
NAME Remove-NetEventSession
SYNOPSIS
Removes a network event session.
SYNTAX
Remove-NetEventSession [-AssociatedEventProvider <CimInstance>] [-CimSession <CimSession[]>] [-InformationAction {SilentlyContinue | Stop |
Continue | Inquire | Ignore | Suspend}] [-InformationVariable <System.String>] [-PassThru] [-ThrottleLimit <Int32>] [<CommonParameters>]
Remove-NetEventSession [-CimSession <CimSession[]>] [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}]
[-InformationVariable <System.String>] [-PassThru] [-ThrottleLimit <Int32>] [<CommonParameters>]
Remove-NetEventSession [-Name] <String[]> [-CimSession <CimSession[]>] [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore
| Suspend}] [-InformationVariable <System.String>] [-PassThru] [-ThrottleLimit <Int32>] [<CommonParameters>]
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.
PARAMETERS
-AssociatedEventProvider [<CimInstance>]
Specifies the associated network event provider as a CIM object. To obtain the network event provider, use the Get-NetEventProvider cmdlet.
Required? false
Position? named
Default value none
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-CimSession [<CimSession[]>]
Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession
or Get-CimSession cmdlet. The default is the current session on the local computer.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-InformationAction [<System.Management.Automation.ActionPreference>]
Specifies how this cmdlet responds to an information event. The acceptable values for this parameter are:
-- SilentlyContinue
-- Stop
-- Continue
-- Inquire
-- Ignore
-- Suspend
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-InformationVariable [<System.String>]
Specifies a variable in which to store an information event message.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Name <String[]>
Specifies an array of names of sessions to remove.
Required? true
Position? 1
Default value none
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-ThrottleLimit [<Int32>]
Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0
is entered, then Windows PowerShell?????? calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running
on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
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.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkID=294398
Get-NetEventSession
New-NetEventSession
Set-NetEventSession
Start-NetEventSession
Stop-NetEventSession
Get-NetEventProvider
CommonParameters : True
WorkflowCommonParameters : False
details : @{name=Remove-NetEventVFPProvider; noun=; verb=}
Syntax : @{syntaxItem=System.Object[]}
parameters : @{parameter=System.Object[]}
inputTypes : @{inputType=}
returnValues : @{returnValue=}
aliases : None
remarks : Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help.
-- To download and install Help files for the module that includes this cmdlet, use Update-Help.
alertSet :
description :
examples :
Synopsis :
Remove-NetEventVFPProvider [-SessionName] <string[]> [-CimSession <CimSession[]>] [-ThrottleLimit <int>] [-AsJob]
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Remove-NetEventVFPProvider -InputObject <CimInstance#MSFT_NetEventVFPProvider[]> [-CimSession <CimSession[]>]
[-ThrottleLimit <int>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
ModuleName : NetEventPacketCapture
nonTerminatingErrors :
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
Name : Remove-NetEventVFPProvider
Category : Function
Component :
Role :
Functionality :
SYNOPSIS
Removes a network event session.
SYNTAX
Remove-NetEventSession [-AssociatedEventProvider <CimInstance>] [-CimSession <CimSession[]>] [-InformationAction {SilentlyContinue | Stop |
Continue | Inquire | Ignore | Suspend}] [-InformationVariable <System.String>] [-PassThru] [-ThrottleLimit <Int32>] [<CommonParameters>]
Remove-NetEventSession [-CimSession <CimSession[]>] [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}]
[-InformationVariable <System.String>] [-PassThru] [-ThrottleLimit <Int32>] [<CommonParameters>]
Remove-NetEventSession [-Name] <String[]> [-CimSession <CimSession[]>] [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore
| Suspend}] [-InformationVariable <System.String>] [-PassThru] [-ThrottleLimit <Int32>] [<CommonParameters>]
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.
PARAMETERS
-AssociatedEventProvider [<CimInstance>]
Specifies the associated network event provider as a CIM object. To obtain the network event provider, use the Get-NetEventProvider cmdlet.
Required? false
Position? named
Default value none
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-CimSession [<CimSession[]>]
Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession
or Get-CimSession cmdlet. The default is the current session on the local computer.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-InformationAction [<System.Management.Automation.ActionPreference>]
Specifies how this cmdlet responds to an information event. The acceptable values for this parameter are:
-- SilentlyContinue
-- Stop
-- Continue
-- Inquire
-- Ignore
-- Suspend
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-InformationVariable [<System.String>]
Specifies a variable in which to store an information event message.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Name <String[]>
Specifies an array of names of sessions to remove.
Required? true
Position? 1
Default value none
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-ThrottleLimit [<Int32>]
Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0
is entered, then Windows PowerShell?????? calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running
on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
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.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkID=294398
Get-NetEventSession
New-NetEventSession
Set-NetEventSession
Start-NetEventSession
Stop-NetEventSession
Get-NetEventProvider
CommonParameters : True
WorkflowCommonParameters : False
details : @{name=Remove-NetEventVFPProvider; noun=; verb=}
Syntax : @{syntaxItem=System.Object[]}
parameters : @{parameter=System.Object[]}
inputTypes : @{inputType=}
returnValues : @{returnValue=}
aliases : None
remarks : Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help.
-- To download and install Help files for the module that includes this cmdlet, use Update-Help.
alertSet :
description :
examples :
Synopsis :
Remove-NetEventVFPProvider [-SessionName] <string[]> [-CimSession <CimSession[]>] [-ThrottleLimit <int>] [-AsJob]
[-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Remove-NetEventVFPProvider -InputObject <CimInstance#MSFT_NetEventVFPProvider[]> [-CimSession <CimSession[]>]
[-ThrottleLimit <int>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
ModuleName : NetEventPacketCapture
nonTerminatingErrors :
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
Name : Remove-NetEventVFPProvider
Category : Function
Component :
Role :
Functionality :