fredag 19 oktober 2012

Tape drive cleaning


As many have noticed there is not an automated tape drive cleaning function in DPM 2012 but if you would like to have a scheduled job to run this is easily made with a scheduled PowerShell script.
-------------------------------Begin Script-------------------------------
$DPMLib = Get-DPMLibrary -DPMServerName DPMSERVERNAMEGOESHERE
$td = Get-TapeDrive -DPMLibrary $DPMLib
Start-DPMTapeDriveCleaning -TapeDrive $td
-------------------------------End Script-------------------------------
Copy the PowerShell script and save it to a PS1 file and you are good to go

Inga kommentarer:

Skicka en kommentar