Share via


Disconnect-DPMServer

Closes a DPM connection session.

Syntax

Default (Default)

Disconnect-DPMServer
    [[-DPMServerName] <String>]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Disconnect-DPMServer cmdlet closes a System Center - 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.

Examples

Example 1: Disconnect a server

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

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

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

-DPMServerName

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:ComputerName, CN

Parameter sets

(All)
Position:1
Mandatory:False
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.