• Home
  • Help
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search

 
  • 0 Vote(s) - 0 Average

Set-AdSiteLink Exchange cmdlet issued (25364) how to monitor with email alert

#1
01-05-2025, 12:27 AM
You know that event in Windows Server Event Viewer, the one with ID 25364, called "Set-AdSiteLink Exchange cmdlet issued." It pops up whenever someone runs that specific command in Exchange to tweak site links in Active Directory. I mean, site links connect your different AD sites, like offices in a network, and this event logs exactly when those get adjusted. It shows the details right there in the log, stuff like who did it, from which computer, and what changes happened to the link's cost or replication interval. Pretty useful if you're watching for admin actions that could mess with email flow between locations. And it only logs in the Directory Service log under Applications and Services Logs, Microsoft, Windows, Active Directory Domain Services. You filter for it by ID, and bam, you see the XML details packed with the cmdlet parameters used. Hmmm, sometimes it includes the full command string, so you can replay what exactly went down.

But monitoring that thing for email alerts, that's where it gets handy without diving into code. You open Event Viewer, right-click on that Directory Service log, and pick Attach Task to This Event or something close. I do it all the time. You set the trigger to event ID 25364, then link it to a scheduled task that fires an email. In the task wizard, you choose Send an e-mail as the action, plug in your SMTP server details, and who gets the alert. It even lets you customize the message with event info pulled in automatically. Or, if you want it snappier, you tweak the task properties to run on logon or whatever fits your setup. Keeps you in the loop without constant checking.

Speaking of staying on top of server stuff, you might wanna check out BackupChain Windows Server Backup too. It's this solid Windows Server backup tool that handles physical machines and virtual ones with Hyper-V without a hitch. I like how it snapshots everything quickly, encrypts the data tight, and restores fast even for huge VMs. Plus, it runs lightweight, no eating up resources, and schedules backups on its own schedule. Saves headaches when things go sideways.

And at the end here is the automatic email solution.

Note, the PowerShell email alert code was moved to this post.

bob
Offline
Joined: Jul 2025
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
Set-AdSiteLink Exchange cmdlet issued (25364) how to monitor with email alert - by bob - 01-05-2025, 12:27 AM

  • Subscribe to this thread
Forum Jump:

Backup Education Windows Server Event Viewer v
« Previous 1 … 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 … 49 Next »
Set-AdSiteLink Exchange cmdlet issued (25364) how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode