Documentation Center

Importing Experience Optimization cmdlets (optional)

When you install Experience Optimization on Content Manager, the Powershell cmdlets are automatically imported. If, however, you want to use the cmdlets on any other machine, such as in a Content Delivery server, you need to import them separately.

Procedure

  1. On the Tridion Sites installation media, go to Content Delivery\roles\xo\ resources\powershell\.
  2. Copy all files from the installation media folder to a location on your computer.
  3. On a system that meets the prerequisites for database installation and upgrade scripts, open PowerShell.
  4. From the location where you copied the files, enter the following command:
    Import-Module .\SDL.Tridion.Experience.Automation.dll

Results

The Experience Optimization cmdlets are now available for use. You can use the following command to list all available commands in the module: Get-Command -Module Sdl.Tridion.Experience.PowerShell

What to do next

The default configuration of the imported cmdlets is to connect to OpenSearch anonymously on localhost and port 9200 (without SSL). If your implementation differs from this, use the Set-XoSettings cmdlet to configure how the cmdlets connect to OpenSearch.