Managing Experience Optimization regions with cmdlets

Experience Optimization provides several PowerShell cmdlets for creating and managing page regions.

Experience Optimization region commands

Experience Optimization provides the following commands for managing page regions:

CmdletFunction
Get-XoRegionReturn a list of all of the regions available in Experience Optimization.
New-XoRegionAdd a new Experience Optimization region
Remove-XoRegionRemove an existing Experience Optimization region
Test-XoRegionReturn a Boolean indicating if the specified region exists in Experience Optimization

Example: help Set-XoSettings -Detailed

Example

The following illustrates the New-XoRegion command being used to create a new region:

PS C:\powershell> New-XoRegion -Name "Example1" -PassThru
Footer
Header
Inset 1
Inset 2
Example1
Sidebar