locked
DPM 2012 R2 Get-Datasource returns Invalid LatestRecoveryPoint RRS feed

  • Question

  • This may not be the correct forum to post it in, but the other options were just as bad. I cannot see any forum for DPM.

    I'm running the following code in DPM 2021 R2 Powershell (Admin Mode):

    ForEach($Memberin$ProtectionGroup) { Get-Datasource-ProtectionGroup$Member|Where{$_.LatestRecoveryPoint -le(Get-Date).adddays(-2)} |SelectComputer,Name,LatestRecoveryPoint|SortComputer|export-csv-append"SOMEFILENAME"}

    When I run this code for the first time, I get the following results:

    Computer                       Name               LatestRecoverPoint

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

    Server1                          C Drive            1/01/0001 12:00:00 AM

    When I run the script the second time I get the following results

    Computer                       Name               LatestRecoverPoint

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

    Server1                          C Drive            6/01/2015 0:00

    What I want to know is, has anyone come across this issue of the LatestRecoveryPoint not being reported properly the first time the script runs and if you have resolved it and how did you do it?


    Thursday, January 8, 2015 11:55 PM

Answers

  • Correct - wrong forum! This Forum is for Home Server - you might be better off finding the correct forum to get a better answer.

    Phil P.S. If you find my comment helpful or if it answers your question, please mark it as such.

    • Marked as answer by MarcTSpencer Monday, January 12, 2015 3:01 AM
    Friday, January 9, 2015 2:49 AM