I typically enable WinRM and use remote PS for this.
How are you planning on doing the query?
Thanks.
Regards,
Michael B. Smith
Managing Consultant
Smith Consulting, LLC
--
You received this message because you are subscribed to the Google Groups "ntsysadmin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
ntsysadmin+...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ntsysadmin/CAHBr%2B%2BjGgXL2AH6rt45wCurw%2B0JQhQjdsYgi6fJgkWE%2BDHuhcQ%40mail.gmail.com.
You could use PowerShell to do this without the need to muck about with firewall ports.
Philip Elder MCTS
Senior Technical Architect
Microsoft High Availability MVP
E-mail: Phili...@mpecsinc.ca
Phone: +1 (780) 458-2028
Web: www.mpecsinc.com
Blog: blog.mpecsinc.com
Twitter: Twitter.com/MPECSInc
Skype: MPECSInc.
Please note: Although we may sometimes respond to email, text and phone calls instantly at all hours of the day, our regular business hours are 8:00 AM - 5:00 PM, Monday thru Friday.
From: ntsys...@googlegroups.com <ntsys...@googlegroups.com>
On Behalf Of Mike Leone
Sent: Thursday, September 7, 2023 13:09
To: NTSysAdmin <ntsys...@googlegroups.com>
Subject: [ntsysadmin] Remote Event Log management and DCs
I want to write a script that can query all my DCs for event log entries, such as for unsecured LDAP binds (as an example). As far as I can tell, the firewall on the DC would need to be configured to allow Remote Event Log access. (Remote Event Log Management (RPC), if I understand it correctly).
--
I typically enable WinRM and use remote PS for this.
How are you planning on doing the query?
To view this discussion on the web visit https://groups.google.com/d/msgid/ntsysadmin/bf44970e3bac450a95d65df60c53dc47%40smithcons.com.
WMI and RPC are considered deprecated. You just need the WinRM rules and use Invoke-Command. It will be faster.
To view this discussion on the web visit https://groups.google.com/d/msgid/ntsysadmin/CAHBr%2B%2BiT1gUw9a%3D9jt-3pk1a0PMUJS6QjyRJWimFraAmdXRuag%40mail.gmail.com.
WMI and RPC are considered deprecated. You just need the WinRM rules and use Invoke-Command. It will be faster.
To view this discussion on the web visit https://groups.google.com/d/msgid/ntsysadmin/8c0e34208c884e1c80d45f7d566e8cdf%40smithcons.com.
Windows Event Forwarding to a central log collector?It's what you need anyway.
To view this discussion on the web visit https://groups.google.com/d/msgid/ntsysadmin/CADy1Ce7Ki%3D0Xkkk68Or_gBzUoyE2%3D_a0YzCwdvHW7ezzqketxg%40mail.gmail.com.