Jump to content


  • 0
Herwin D

powershell script

Question

Hello Community,

I´m learning my way within DPM 2016 UR2, and now I need help getting the following done.
For management I need to deliver daily a script which gives me the latest recovery point of all DPM servers (this is done,  a couple of nice csv´s which I can sent)
Now I need to get the latest recoverypoint on disk and on tape. This is what I can´t get. I can get on screen all recoverypoints on disk and tape (disk and media) I use the following line:

"get-dpmprotectiongroup |get-dpmdatasource | get-recoverypoint |Select Name , Backuptime , Location | Sort Backup time "  This will give on screen, the name of the protected server, date and disk/media. But (always there is a but) I would love to get my hands on a script which does the following:

give me the latest recovery point on disk and on tape from all objects within a protection group, the output must contain, name of the object (vmname or server name) latest recovery point ,date of the recovery point  on disk and on tape, protection group name.

So if there is a PowerShell hero out there (with DPM PowerShell knowledge) which can help me with this, then I´m very great full.

Herwin 

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.