共用方式為


Get-DPMAutoProtectIntent

Get-DPMAutoProtectIntent

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

Syntax

Parameter Set: DPMServer
Get-DPMAutoProtectIntent [-SQLInstanceName] <String> [[-DPMServerName] <String> ] [ <CommonParameters>]

Parameter Set: SQL
Get-DPMAutoProtectIntent [-SQLInstanceName] <String> [-ProtectionGroup] <ProtectionGroup> [ <CommonParameters>]

Parameter Set: VMWareFolderObject
Get-DPMAutoProtectIntent [-VMWareFolder] <VMWareFolder> [-ProtectionGroup] <ProtectionGroup> [ <CommonParameters>]

Parameter Set: VMWareFolderPath
Get-DPMAutoProtectIntent [-VMWareVMFolderPath] <String> [-ProtectionGroup] <ProtectionGroup> [ <CommonParameters>]

Detailed Description

The Get-DPMAutoProtectIntent cmdlet gets the System Center 2012 – Data Protection Manager (DPM) auto-protection setting for a Microsoft SQL Server data management software instance and VMware. 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.

Parameters

-DPMServerName<String>

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

Aliases

ComputerName,CN

Required?

false

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-ProtectionGroup<ProtectionGroup>

Specifies the name of the protection group.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

true(ByValue)

Accept Wildcard Characters?

false

-SQLInstanceName<String>

Specifies the name of the SQL instance.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-VMWareFolder<VMWareFolder>

Specifies the folder object of the auto protection folder.

Aliases

none

Required?

true

Position?

1

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. This parameter is for internal use only.

Aliases

none

Required?

true

Position?

1

Default Value

none

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.

Set-DPMAutoProtectIntent

Start-DPMAutoProtection