Share via


Set-DPMAutoProtectIntent

Set-DPMAutoProtectIntent

Turns DPM auto-protection on or off for a SQL Server instance.

Syntax

Parameter Set: SQL
Set-DPMAutoProtectIntent [-ProtectionGroup] <ProtectionGroup> [-SQLInstanceName] <String[]> [-AutoProtectIntent] <Microsoft.Internal.EnterpriseStorage.Dls.EngineUICommon.EngineConstants.DbEnums+AutoProtectionIntent> {Enable | Disable} [-ProductionServer] <ProductionServer> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: VMWareFolderObject
Set-DPMAutoProtectIntent [-ProtectionGroup] <ProtectionGroup> [-VMWareFolder] <VMWareFolder[]> [-AutoProtectIntent] <Microsoft.Internal.EnterpriseStorage.Dls.EngineUICommon.EngineConstants.DbEnums+AutoProtectionIntent> {Enable | Disable} [-ProductionServer] <ProductionServer> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: VMWareFolderPath
Set-DPMAutoProtectIntent [-ProtectionGroup] <ProtectionGroup> [-VMWareVMFolderPath] <String[]> [-AutoProtectIntent] <Microsoft.Internal.EnterpriseStorage.Dls.EngineUICommon.EngineConstants.DbEnums+AutoProtectionIntent> {Enable | Disable} [-ProductionServer] <ProductionServer> [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Set-DPMAutoProtectIntent cmdlet turns System Center 2012 – Data Protection Manager (DPM) auto-protection on or off 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 change the auto-protection setting, specify the SQL Server instance, the protection group that it belongs to, and a production server.

When you first add a SQL Server instance to a protection group, the DPM server enables auto-protection for that instance.

Parameters

-AutoProtectIntent<Microsoft.Internal.EnterpriseStorage.Dls.EngineUICommon.EngineConstants.DbEnums+AutoProtectionIntent>

Aliases

none

Required?

true

Position?

3

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ProductionServer<ProductionServer>

Specifies the name of the production server.

Aliases

none

Required?

true

Position?

4

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ProtectionGroup<ProtectionGroup>

Specifies the name of the protection group.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true(ByValue)

Accept Wildcard Characters?

false

-SQLInstanceName<String[]>

Specifies an array of the SQL instances.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-VMWareFolder<VMWareFolder[]>

Specifies an array of VMware folders.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-VMWareVMFolderPath<String[]>

This parameter takes no input and will be supported through the UI in an upcoming release.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Get-DPMAutoProtectIntent

Start-DPMAutoProtection