Cmdlets > Uninstall-DoubleTake

Uninstall-DoubleTake

Uninstalls Double-Take

Syntax

Uninstall-DoubleTake [-RemoteServer] <Server> [-AsJob] [<CommonParameters>]

Detailed Description

This cmdlet uninstalls Double-Take on the specified server.

Parameters

Name Type Description Required Pipeline Input
Remote
Server
Server

Specify the server object returned from the New-DtServer cmdlet.

true false
AsJob Switch
Parameter

Specify if you want the uninstallation to occur asynchronously in the background, returning the PowerShell command immediately. You can get the status of each uninstallation using the Windows PowerShell Get-Job command. Without this parameter, each uninstallation specified will be executed synchronously and the current activity of the current uninstallation will be displayed.

false false

Outputs

None

Examples

$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password

Uninstall-Doubletake -RemoteServer $DtServerObjectAlpha

Disconnect-DtServer -ServiceHost $DtServerObjectAlpha

A server object is created for the server alpha using the domain\administrator and password credentials. It assigns the server object to the variable called DtServerObjectAlpha. Then Double-Take is uninstalled from the server. The connections for the server object are then closed.