Skip to content

Latest commit

 

History

History
84 lines (61 loc) · 2.09 KB

File metadata and controls

84 lines (61 loc) · 2.09 KB
external help file DSInternals.RpcFilters.Auditing-help.xml
Module Name DSInternals.RpcFilters
online version https://github.com/MichaelGrafnetter/RPCFilterManager/blob/main/Documentation/PowerShell/Get-RpcFilterEvent.md
schema 2.0.0

Get-RpcFilterEvent

SYNOPSIS

Gets RPC audit events from the Security log.

SYNTAX

Get-RpcFilterEvent [[-ComputerName] <String>] [[-MaxEvents] <Int64>] [<CommonParameters>]

DESCRIPTION

This cmdlet retrieves RPC audit events from the Security log on the specified computer. By default, it retrieves events from the local computer. The maximum number of events to retrieve can be specified using the -MaxEvents parameter. The cmdlet must be run with elevated privileges to access the Security log.

EXAMPLES

Example 1

PS C:\> Get-RpcFilterEvent

Retrieves RPC audit events from the Security log on the local computer.

Example 2

PS C:\> Get-RpcFilterEvent -ComputerName RemotePC -MaxEvents 100

Retrieves the last 100 RPC audit events from the Security log on the specified remote computer.

PARAMETERS

-ComputerName

The name of the computer to query.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: Localhost
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-MaxEvents

The maximum number of events to retrieve.

Type: Int64
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: 9223372036854775807
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

DSInternals.Win32.RpcFilters.PowerShell.RpcEventLogRecord

NOTES

RELATED LINKS

Enable-RpcFilterAuditing New-RpcFilter