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 - 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 |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
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 |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-SQLInstanceName
Specifies the name of a SQL Server instance.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |