Enable-DPMProductionServer
Enables a DPM protection agent.
Syntax
Default (Default)
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.
Parameter properties
Type: | SwitchParameter |
Default value: | False |
Supports wildcards: | False |
DontShow: | False |
Aliases: | cf |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ProductionServer
Specifies a computer on which a DPM protection agent is installed. This cmdlet enables the protection agent.
Parameter properties
Type: | ProductionServer |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Parameter properties
Type: | SwitchParameter |
Default value: | False |
Supports wildcards: | False |
DontShow: | False |
Aliases: | wi |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.