Click or drag to resize
Install-DoubleTake

This cmdlet installs Double-Take on the specified server. One syntax allows you to install Double-Take immediately, and the other syntax allows you to schedule the installation.

Syntax

Install-DoubleTake [-ActivationCode] <String[]> [-DiskQueueFolder] <String> [-DiskQueueLimit] <Nullable`1> [-DotNetPackagePath] <String> [-InstallationFolder] <String> [-MaxMemoryUsage] <Nullable`1> [-MinFreeDiskSpace] <Nullable`1> [-PackageBaseFolder] <String> [-SimultaneousFilePushLimit] <Nullable`1> [-TempFolder] <String> [-X64PackageFolder] <String> [-X86PackageFolder] <String> [-LinuxPackageFolder] <String> [-RemoteServer] <Server> [-AsJob] <SwitchParameter> [<CommonParameters>]

Install-DoubleTake [-ActivationCode] <String[]> [-DiskQueueFolder] <String> [-DiskQueueLimit] <Nullable`1> [-DotNetPackagePath] <String> [-InstallationFolder] <String> [-MaxMemoryUsage] <Nullable`1> [-MinFreeDiskSpace] <Nullable`1> [-NoReboot] <SwitchParameter> [-PackageBaseFolder] <String> [-Schedule] <DateTime> [-SimultaneousFilePushLimit] <Nullable`1> [-TempFolder] <String> [-X64PackageFolder] <String> [-X86PackageFolder] <String> [-RemoteServer] <Server> [-AsJob] <SwitchParameter> [<CommonParameters>]

Parameters
-ActivationCode<String[]>

Specify your 24-character, alpha-numeric license key which applies the appropriate Double-Take license to your Double-Take server. Specify multiple keys in an array using the format @(code1, code2). You can also specify the keyword None and provide a license key later.

Required?

true

Position?

named

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-DiskQueueFolder<String>

Specify the location where you want to store the Double-Take disk queue on each server. The default is \Program Files\Vision Solutions\Double-Take.

Required?

false

Position?

named

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-DiskQueueLimit<Nullable`1>

Specify a fixed amount of disk space, in MB, in the specified DiskQueueFolder that can be used for Double-Take disk queuing. When the disk space limit is reached, Double-Take will automatically begin the auto-disconnect process. By default, an unlimited amount of disk queuing will be allowed.

Required?

false

Position?

named

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-DotNetPackagePath<String>

If your servers are running Windows 2008 or earlier and do not have Microsoft .NET version 3.5.1, specify the location of the setup file (on the local machine) that will be used to install it. The setup file is available on the Double-Take CD in the \NetFx\v3.5SP1\Full directory or from the Microsoft web site.

Required?

false

Position?

named

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-InstallationFolder<String>

Specify the location where you want to install Double-Take on the server. The default is \Program Files\Vision Solutions\Double-Take.

Required?

false

Position?

named

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-MaxMemoryUsage<Nullable`1>

Specify the maximum amount of memory, in MB, that can be used for Double-Take processing. The default will depend on your operating system and hardware.

Required?

false

Position?

named

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-MinFreeDiskSpace<Nullable`1>

This is the minimum amount of disk space in the specified DiskQueueFolder that must be available at all times. This amount should be less than the amount of physical disk space minus the disk size specified for DiskQueueLimit. The default is 50 MB.

Required?

false

Position?

named

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-NoReboot<SwitchParameter>

Specify if you do not want the server to reboot after the installation, even if a reboot is required.

Required?

false

Position?

named

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PackageBaseFolder<String>

Specifies the locations of the setup files (on the local machine or a UNC path) that will be used to install on both 32-bit and 64-bit servers. By default, these are in the i386\ and \x64 subdirectories where you installed Double-Take.

Required?

false

Position?

named

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Schedule<DateTime>

Specify a date and time to complete the installation. Specify the date in mm/dd/yyyy format. Specify the time in hh:mm:ss format with AM or PM. You can specify a time zone offset, for example, -04:00. If you do not specify a time zone offset, the time zone of the machine you are running from will be used. If you do not specify a time, 12:00:00 AM will be used.

Required?

true

Position?

named

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-SimultaneousFilePushLimit<Nullable`1>

Specify the number of files that can simultaneously be pushed to the machine you are installing on. The default is 5.

Required?

false

Position?

named

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-TempFolder<String>

Specify a temporary location (on the server where you are installing Double-Take) where the installation files will be copied and run. The default is \Temp. You need approximately 130 MB of space in the specified location.

Required?

false

Position?

named

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-X64PackageFolder<String>

Specify the location of the setup file (on the local machine or a UNC path) that will be used to install on 64-bit Windows servers. By default, this is in the \x64 subdirectory where you installed Double-Take.

Required?

false

Position?

named

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-X86PackageFolder<String>

Specify the location of the setup file (on the local machine or a UNC path) that will be used to install on 32-bit Windows servers. By default, this is in the \i386 subdirectory where you installed Double-Take.

Required?

false

Position?

named

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-LinuxPackageFolder<String>

Specify the location of the .rpm or .deb installation files (on the local machine or a UNC path) that will be used to install on Linux servers.

Required?

false

Position?

named

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-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 1------------------

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 installed to the server using the activation code 1234567890abcdefghij1234, using the setup.exe installation file stored locally at C:\Program Files\Vision Solutions\Double-Take\x64. The connections for the server object are then closed.

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

Install-DoubleTake -RemoteServer $DtServerObjectAlpha -ActivationCode 1234567890abcdefghij1234 -x64PackageFolder "C:\Program Files\Vision Solutions\Double-Take\x64"

Disconnect-DtServer -ServiceHost $DtServerObjectAlpha

------------------EXAMPLE 2------------------

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 installed to the server using the activation code 1234567890abcdefghij1234, using the .rpm or .deb installation files stored locally at C:\Program Files\Vision Solutions\Double-Take\Linux. The connections for the server object are then closed.

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

Install-DoubleTake -RemoteServer $DtServerObjectAlpha -ActivationCode 1234567890abcdefghij1234 -LinuxPackageFolder "C:\Program Files\Vision Solutions\Double-Take\Linux"

Disconnect-DtServer -ServiceHost $DtServerObjectAlpha

------------------EXAMPLE 3------------------

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 installed to the server using the activation code 1234567890abcdefghij1234, using the .rpm or .deb installation files stored on a deployed Double-Take Linux appliance at \\DTAppliance\installers. The connections for the server object are then closed.

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

Install-DoubleTake -RemoteServer $DtServerObjectAlpha -ActivationCode 1234567890abcdefghij1234 -LinuxPackageFolder "\\DTAppliance\installers"

Disconnect-DtServer -ServiceHost $DtServerObjectAlpha