• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 60
  • Last Modified:

replication health report

Dears.,

I have 2 Physical Servers - 1 Hosting 5 Vms and the other one hosting their Replica.
I am using the Windows Replication Services from Hyper-v

I would like to get a daily report by email that shows me if I have any problem with the replication.
I have found many PS scripts, but got lost, some are too basic, some are too complicated..
Is there anything "out-of-the-box" ? something Standard that any IT administrator should be looking at ?

Thanks
0
Pierre Ammoun
Asked:
Pierre Ammoun
  • 2
1 Solution
 
Cliff GaliherCommented:
There is nothing baked in like that.
0
 
Jeremy WeisingerSenior Network Consultant / EngineerCommented:
No built in reporting but you can use the Measure-VMReplication and Send-MailMessage cmdlets to cobble something together. E.g:

$report = Measure-VMReplication -ComputerName Server1, Server2 | sort preplsize | ft Name,PReplSize,LReplTime,state -AutoSize

Send-MailMessage -To a@b.com -From b@b.com -Subject "Replication Status" -Body $report

Open in new window

0
 
Pierre AmmounAuthor Commented:
I do know that there are no built in reports for that but was hoping for a powershell script that can do what I
am looking for
0
 
Jeremy WeisingerSenior Network Consultant / EngineerCommented:
Have you tested out what I posted? You'll have to edit it so it matches your environment.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell┬« is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now