共用方式為


Add-DPMProductionServer

Add-DPMProductionServer

Adds a production server to DPM.

Syntax

Parameter Set: Default
Add-DPMProductionServer [-Name] <String> [-DPMCredentialName] <String> [[-SSLPort] <UInt16> ] [ <CommonParameters>]

Detailed Description

The Add-DPMProductionServer cmdlet adds a production server to System Center 2012 – Data Protection Manager (DPM).

Parameters

-DPMCredentialName<String>

Specifies the name of a DPM credential that has permission to perform the operation.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String>

Specifies a name for the DPM credential.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true(ByValue)

Accept Wildcard Characters?

false

-SSLPort<UInt16>

Specifies the SSL port.

Aliases

none

Required?

false

Position?

3

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.

Examples

Example 1: Add a production server

This command adds the production server named DemoProductionServer.

PS C:\> Add-DPMProductionServer -Name "DemoProductionServer" -DPMCredentialName "DemoVMCredential" -SSLPort 442

Disable-DPMProductionServer

Enable-DPMProductionServer

Get-DPMProductionServer

Remove-DPMProductionServer

Update-DPMProductionServer