Disconnect-DPMServer

Disconnect-DPMServer

Closes a DPM connection session.

Syntax

Parameter Set: Default
Disconnect-DPMServer [[-DPMServerName] <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Disconnect-DPMServer cmdlet closes a System Center 2012 – Data Protection Manager (DPM) connection session and releases all objects for that session. Specify a connection to close by using the name of a DPM server.

Parameters

-DPMServerName<String>

Specifies the name of a DPM server for which this cmdlet closes a connection.

Aliases

ComputerName,CN

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

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.

Required?

false

Position?

named

Default Value

false

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 (http://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: Disconnect a server

This command closes a connection to a DPM server named DPMServer07.

PS C:\> Disconnect-DPMServer -DPMServerName "DPMServer07"

Connect-DPMServer