Skip to content

Overview of PowerShell in UNIFYConnect

UNIFYConnect components can execute PowerShell code, providing a convenient way to add custom logic to UNIFYConnect workflows.

The following components support PowerShell execution:

Execution Mode

PowerShell scripts can be executed in one of three ways. The documented scripting API is equivalent across the modes, but worker-process execution cannot access arbitrary .NET objects or process-local state from the main service.

  • Worker process (v8+)
  • Managed runspaces (v7.4+)
  • Legacy (deprecated)

Refer to PowerShell Execution Modes for more information.

Configuration

Configure PowerShell by editing the extensibility file for the component that executes the script. Some PowerShell settings can also be changed through the web interface, but those changes apply only at runtime and are not persisted to disk.

Refer to PowerShell Configuration for the available settings, configuration files, and runtime controls.