Get-DPMAutoProtectIntent

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

Syntax

Get-DPMAutoProtectIntent [-SQLInstanceName] <String> [[-DPMServerName] <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:

Parameters

-DPMServerName

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

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

-ProtectionGroup

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

Type:ProtectionGroup
Required:True
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
Required:True
Position:1
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False