Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.
/ PSWEF Public archive

Powershell module for Windows Event Forwarding management.

Notifications You must be signed in to change notification settings

sysgoblin/PSWEF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSWEF

PSWEF is a PowerShell module for querying and administering Windows Event Forwarding subscriptions and Windows Event Collectors.

This module is very much currently a WIP.

Usage examples

List all subscriptions managed by the specified Windows Event Collector Server.

PS C:\> Get-WEFSubscription -Server Server01 -List

Subscription-One
Subscription-Two
Subscription-Three

Return details for the specified subscription. Add param -Format XML to get the raw XML of the subscription.

PS C:\> Get-WEFSubscription -Server Server01 -Subscription Example-Subscription

SubscriptionId                  : Example-Subscription
SubscriptionType                : SourceInitiated
Description                     : Custom event subscription
Enabled                         : true
ConfigurationMode               : Custom
Delivery                        : @{Mode=Push; Batching=; PushSettings=}
Query                           :

                                      <QueryList>
                                        <Query Id="0" Path="Security">
                                          <Select Path="Security">*[System[(EventID &gt;=4624 and EventID &lt;=4626)]]</Select>
                                        </Query>
                                      </QueryList>

ReadExistingEvents              : true
TransportName                   : http
ContentFormat                   : RenderedText
Locale                          : Locale
LogFile                         : Example-LogFile
AllowedSourceNonDomainComputers :
AllowedSourceDomainComputers    : O:NSG:NSD:(A;;GA;;;DC)(A;;GA;;;NS)(A;;GA;;;DD)

Releases

No releases published

Packages

No packages published