Hi,
i try to make a script to check snapmirror status and lagtimets.
Import-Module DataONTAP
Connect-NaController netapp-bap1 -Credential root
Get-NaSnapmirror | Format-Table -AutoSize SourceLocation,DestinationLocation,Status,State,LagTimeTS,LastTransferSize,LastTransferDuration
The output for this command give me this :
SourceLocation DestinationLocation Status State LagTimeTS LastTransferSize LastTransferDuration
-------------- ------------------- ------ ----- --------- ---------------- --------------------
netapp-bap1:Prod1 netapp-bap2:Prod1 idle source 2.15:15:19 471040 5
Is there any ways to extract the date of the last successful snapmirror from LagTimeTS ?
I wanted to have something like :
the last date of successful Snapmirror is "..."
Or The Last successful Snapmirror date back to "..."
Thx for your help !