Click or drag to resize

Uninstall-DoubleTake

This cmdlet uninstalls Double-Take on the specified server.

Syntax

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

Parameters
-RemoteServer<Server>

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

Required?

true

Position?

1

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-AsJob<SwitchParameter>

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

Required?

false

Position?

named

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.

Examples

------------------EXAMPLE------------------

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.

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

Uninstall-Doubletake -RemoteServer $DtServerObjectAlpha

Disconnect-DtServer -ServiceHost $DtServerObjectAlpha