Gets the consistency check window settings for a protection group.


   [-ProtectionGroup] <ProtectionGroup>


The Get-DPMConsistencyCheckWindow cmdlet gets the consistency check window settings for a System Center 2016 - Data Protection Manager (DPM) protection group. For more information about consistency check windows, see the Set-DPMConsistencyCheckWindow cmdlet.


Example 1: Get consistency check window settings

PS C:\>$PGroup = Get-DPMProtectionGroup | Where {$_.FriendlyName -like "*ContosoPG*"}
PS C:\> Get-DPMConsistencyCheckWindow -ProtectioGroup $PGroup

The first command gets protection groups. This command passes the results to the Where-Object cmdlet. That cmdlet drops all except ones that match the specified friendly name. For more information, type Get-Help Where-Object. The command stores the protection group in the $PGroup variable.

The second command gets settings for the consistency check window of the protection group in $PGroup.

Required Parameters


Specifies a protection group for which this cmdlet gets settings. To obtain a ProtectionGroup object, use the Get-DPMProtectionGroup cmdlet.

Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False