dexterhome
asked on
DPM script to expire tape data
I need help writing a dpm powershell script for DPM 2010 that will:
1) refresh the stand alone tape drive data
2) pause for this job to complete
3) get the presently inserted tape
4) expire the recovery points on the tape
4a) either searching for just the oldest and expiring that one OR
4b) expiring all the recovery points.
The reason for this is that DPM is problematic with tapes and when/how it prunes them.
I have found lots of information similar to what I require on the technet pages but most info references tape libraries not stand alone drives and requires manual input for the parameters.
Please help - thanks in advance
1) refresh the stand alone tape drive data
2) pause for this job to complete
3) get the presently inserted tape
4) expire the recovery points on the tape
4a) either searching for just the oldest and expiring that one OR
4b) expiring all the recovery points.
The reason for this is that DPM is problematic with tapes and when/how it prunes them.
I have found lots of information similar to what I require on the technet pages but most info references tape libraries not stand alone drives and requires manual input for the parameters.
Please help - thanks in advance
ASKER
Thanks MrGraves
I have been searching through all the options.
I am having issues with fact the I need to string it all together.
I can do individual bits, but not others, some data can be piped and other stuff cannot because the parameter must be set first.
I have been searching through all the options.
I am having issues with fact the I need to string it all together.
I can do individual bits, but not others, some data can be piped and other stuff cannot because the parameter must be set first.
ASKER
deleted by mistake.
Please re-instate so I can add my script for everyone else to use.
Please re-instate so I can add my script for everyone else to use.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I found the answer myself through a combination of a lot of forums and reading the help files.
Get-Command -Noun *Tape*