How to do it...

Open the Windows PowerShell session on your DPM server and observe the following steps:

  1. Open a connection to a DPM server by typing the following command:
 Connect-DPMServer -DPMServerName $env:COMPUTERNAME
  1. Query all protection groups and store the results in a variable called $PGroup: $PGroup = Get-DPMProtectionGroup. You can see their name under the Name column, and, under ProtectionMethod, you can see whether they're using short-term storage using local DPM disks, or, in the case of our file server protection group, using Azure online protection:

  1. This is an object collection. There were two objects in this collection ...

Get Microsoft System Center Data Protection Manager Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.