Skip to content

Improve performance for Get-WinEvent Commands using -FilterHashTable #21

@TechDufus

Description

@TechDufus

When using Get-WinEvent, instead of Filtering by ID in the pipeline using Where-Object, you can provide a hashtable of the LogName and ID directly to Get-WinEvent, drastically increasing performance, both locally and remotely querying for logs.

Official doc on Get-WinEvent can be found at this link

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions