You are here: Overview > Importing the Double-Take PowerShell module

Importing the Double-Take PowerShell module

You will need to import the module before you can begin using it. Use the Windows PowerShell import-module cmdlet to import the DoubleTake.PowerShell.dll module. If you completed a server or client/server installation, the module will be located in the \Service subdirectory where you installed Double-Take. If you completed a client only installation, the module will be located in the \Console subdirectory where you installed Double-Take. By default, the installation location is \Program Files\Vision Solutions\Double-Take. For example, using the default server installation lcoation, the cmdlet would be import-module "C:\Program Files\Vision Solutions\Double-Take\Service\DoubleTake.PowerShell.dll" or using the default client only installation location, the cmdlet would be import-module "C:\Program Files\Vision Solutions\Double-Take\Console\DoubleTake.PowerShell.dll".

If nothing is returned, then the import cmdlet was successful.

The import-module cmdlet only imports a module into the current session. If you need to make the Double-Take PowerShell module available to all sessions, you will need to add an import-module cmdlet to your Windows PowerShell profile. See your PowerShell documentation for more information about profiles.