Share via


Get-DPMAutoProtectIntent

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

Syntax

DPMServer (Default)

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

ProtectionGroup

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

Description

The Get-DPMAutoProtectIntent cmdlet gets the System Center - 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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:ComputerName, CN

Parameter sets

DPMServer
Position:2
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-ProtectionGroup

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

Parameter properties

Type:ProtectionGroup
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ProtectionGroup
Position:2
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-SQLInstanceName

Specifies the name of a SQL Server instance.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.