How to get the number of volumes used by DPM 2010?

Just a quick hit that tells you how many volumes Microsoft Data Protection Manager uses. I got 848… [code lang=”powershell”] $dpmserver = $env:computername #localhost or type your dpm server’s name here $dpmdisks = get-dpmdisk -dpmservername...

How to mark a DPM tape containing active recovery points as free

When trying to mark a tape that contains active recovery points as free in Data Protection Manager you’ll receive an error like this: The selected tapes cannot be marked as free because they belong to protection groups. You need to stop protection of the...

How to use environment variables in Powershell?

Sometimes you need to use an environment variable (eg. username, userprofile, computername, …) in Powershell. The location where environment variables are stored is “env:”. This behaves similar to a hard or flash drive. You can list its content or...