Enable-DPMProductionServer

Enables a DPM protection agent.

Syntax

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

Description

The Enable-DPMProductionServer cmdlet enables a System Center 2016 - 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

-ProductionServer

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

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

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
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.

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

Inputs

ProductionServer