Disconnect-DPMServer

Closes a DPM connection session.

Syntax

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.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DPMServerName

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

Type:String
Aliases:ComputerName, CN
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False