Enable-DPMProductionServer

Enables a DPM protection agent.

Syntax

Enable-DPMProductionServer
      [-ProductionServer] <ProductionServer>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Enable-DPMProductionServer cmdlet enables a System Center - Data Protection Manager (DPM) protection agent on a computer. After you enable a protection agent, DPM enables backup jobs that you schedule for the computer to run.

Examples

Example 1: Enable a protection agent

PS C:\>$DpmPServer = Get-DPMProductionServer -DPMServerName "DpmTsqa01" | Where {$_.Name -eq "dist01.contoso.com"}
PS C:\> Enable-DPMProductionServer -ProductionServer $DpmPServer

The first command gets the DPM protection agent on the computer named dist01.contoso.com for the DPM server named DpmTsqa01. The command stores the result in the $DpmPServer variable.

The second command enables the protection agent stored in $DpmPServer.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProductionServer

Specifies a computer on which a DPM protection agent is installed. This cmdlet enables the protection agent.

Type:ProductionServer
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

ProductionServer