Get-AutoProtectIntent

Get-AutoProtectIntent

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

Syntax

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


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

Detailed Description

The Get-AutoProtectIntent cmdlet retrieves the auto-protection setting for a SQL Server instance.

Parameters

-ProtectionGroup

The name of a protection group.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue)

Position?

1

-DPMServerName

The name of a DPM server.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue)

Position?

1

-SQLInstanceName

The SQL Server instance for which you want to set auto-protection or retrieve auto-protection setting.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue)

Position?

0

-CommonParameter

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

Input and Return Types

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

Notes

  • For more information, type "Get-Help Get-AutoProtectIntent -detailed".
    For technical information, type "Get-Help Get-AutoProtectIntent -full".

    Additionally, any updated information about the cmdlet will be available at http://go.microsoft.com/fwlink/?LinkId=95130.

Examples