Link to home
Start Free TrialLog in
Avatar of dexterhome
dexterhomeFlag for United Kingdom of Great Britain and Northern Ireland

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
Avatar of Felix Leven
Felix Leven
Flag of Germany image

All of the *-Tape* cmdlets like Start-TapeRecatalog are used for standalone Drives. Try to searh for them in the DPM Management Shell  

Get-Command -Noun *Tape*
Avatar of dexterhome

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.
deleted by mistake.
Please re-instate so I can add my script for everyone else to use.
ASKER CERTIFIED SOLUTION
Avatar of dexterhome
dexterhome
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I found the answer myself through a combination of a lot of forums and reading the help files.