Hello,
The following line of code returns a lot of values (I’ve only copied a few in the interest of brevity):
PS C:\PS> $myVM.ExtensionData.Config.ExtraConfig
Key Value
--- -----
hbr_filter.configGen 5
hbr_filter.gid GID-9999999-9999-9999-9999-99999999
hbr_filter.destination xx.xxx.xx.xxx
hbr_filter.port 31031
hbr_filter.rpo 480
The value I’m interested in extracting is the hbr_filter.rpo. However, the following won’t do:
PS C:\PS> $myVM.ExtensionData.Config.ExtraConfig.hbr_filter.rpo
Moreover, I’m interested in building an automated report for SRM replication metrics that shows Last Sync Duration, Last Sync Size, Lag Time, RPO, and Current RPO Violation. Much like the GUI based SRM report shows.
Any code samples or suggestions greatly appreciated.