Start-AutoProtection

Start-AutoProtection

Searches for and indentifies new SQL Server databases under the instances that are configured for auto-protection, and adds them to the protection group.

Syntax

Start-AutoProtection [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

The Start-AutoProtection cmdlet searches for and indentifies new SQL Server databases under the instances that are configured for auto-protection, and adds them to the protection group.

Parameters

-Confirm

Attributes

Name Value

Required?

false

Accept wildcard characters?

Accept Pipeline Input?

false

Position?

named

-WhatIf

Attributes

Name Value

Required?

false

Accept wildcard characters?

Accept Pipeline Input?

false

Position?

named

-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 Start-AutoProtection -detailed".
    For technical information, type "Get-Help Start-AutoProtection full".

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

Examples