Get-DPMAutoProtectIntent

Gets the auto-protection setting for a SQL Server instance.

Syntax

Get-DPMAutoProtectIntent
   [[-DPMServerName] <String>]
   [-SQLInstanceName] <String>
   [<CommonParameters>]
Get-DPMAutoProtectIntent
   [-SQLInstanceName] <String>
   [-ProtectionGroup] <ProtectionGroup>
   [<CommonParameters>]

Description

The Get-DPMAutoProtectIntent cmdlet gets the System Center 2016 - Data Protection Manager (DPM) auto-protection setting for a Microsoft SQL Server data management software instance. When you use auto-protection for a SQL Server instance, DPM identifies and protects new databases added to that instance. To see the current settings for auto-protection, specify the SQL Server instance, and either the protection group that it belongs to or the name of a DPM server.

Examples

1:

Required Parameters

-ProtectionGroup

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

Type:ProtectionGroup
Position:2
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-SQLInstanceName

Specifies the name of a SQL Server instance.

Type:String
Position:1
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-DPMServerName

Specifies the name of a DPM server on which this cmdlet acts.

Type:String
Aliases:ComputerName, CN
Position:2
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False