Need powershell command to get Configuration issue in azure site recovery

keerthy ganesh 6 Reputation points
2020-08-31T11:18:54.167+00:00

Hi,

I have a PowerShell script to generate and download an excel file with Replication health, agent version, Agent status from Azure site recovery for all servers.
Now I need a script/PowerShell command to list RPO, configuration issues as well in my excel.
Please help me with script or PowerShell commanded to list RPO and configuration issues.

Thanks & Regards,
Jagadish

Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
672 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SadiqhAhmed-MSFT 40,446 Reputation points Microsoft Employee
    2020-08-31T20:45:11.337+00:00

    @keerthy ganesh You can use REST API to GET the RPO and in seconds and other configuration details. Please refer our REST API documentation at https://video2.skills-academy.com/en-us/rest/api/site-recovery/replicationprotecteditems/list#hypervreplicaazurereplicationdetails

    Let us know if that helps and feel free to reach out to us if there are any additional questions you have in this matter.

    ------------------------------------------------------------------------------------------------------------------------------

    If an Answer is helpful, please “Accept Answer” and Up-Vote for the same which might be beneficial to other community members reading this thread.