共用方式為


Get-DPMProductionServer

Get-DPMProductionServer

Gets computers on which the DPM protection agent is installed.

Syntax

Parameter Set: Default
Get-DPMProductionServer [[-DPMServerName] <String> ] [ <CommonParameters>]

Detailed Description

The Get-DPMProductionServer cmdlet gets computers on which the System Center 2012 – Data Protection Manager (DPM) protection agent is installed.

Parameters

-DPMServerName<String>

Specifies the name of a DPM server. This cmdlet gets computers that have the protection agent for the server that this parameter specifies. If you do not specify a name, the cmdlet uses the current computer name.

Aliases

ComputerName,CN

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

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

Outputs

The output type is the type of the objects that the cmdlet emits.

  • ProductionServer

Examples

Example 1: Get computers protected by a DPM server

This command gets the list of computers on which the protection agents is installed for the DPM server named DpmTsqa01.

PS C:\> Get-DPMProductionServer -DPMServerName "DpmTsqa01"

Enable-DPMProductionServer

Disable-DPMProductionServer

Update-DPMProductionServer