Download the Progress Kemp PowerShell module from the following page: LoadMaster PowerShell API Wrapper. Unzip the files.

The module contains the following files within the Kemp.LoadBalancer.Powershell folder:

  • Kemp.LoadBalancer.Powershell.psd1
  • Kemp.LoadBalancer.Powershell.psm1
  • Kemp.LoadBalancer.Powershell-Help.xml

Copy the Kemp.LoadBalancer.Powershell folder to the relevant folder.

Install the module in a folder that is available in PSModulePath ($Env:PSModulePath).

If PSModulePath does not contain the module folder value, add the module path to the in PSModulePath environment variable. The module path can be for the current user only or for all users. Recommended values are:

  • $home\Documents\WindowsPowerShell\Modules for the current User
  • $Env:ProgramFiles\WindowsPowerShell\Modules for All Users

For example, install the Progress Kemp PowerShell module for the current user only:

# Save the current value of PSModulePath
$mpath = [Environment]::GetEnvironmentVariable("PSModulePath")
# Add the new path to the $mpath variable
$mpath += ";$home\Documents\WindowsPowerShell\Modules\Kemp.LoadBalancer.Powershell"
# Add the paths in $mpath to the PSModulePath value.
[Environment]::SetEnvironmentVariable("PSModulePath", $mpath)

Import the module to start using it:

Import-Module Kemp.LoadBalancer.Powershell
Get-Module Kemp.LoadBalancer.Powershell
ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     7.2.39.0   Kemp.LoadBalancer.Powershell        {Add-BondedInterface, A...
Note: For the PowerShell commands to work, the API interface must be enabled on the LoadMaster. To enable it using the Web User Interface (WUI), go to Certificates & Security > Remote Access and select Enable API Interface.

You can test the connection to the load balancer by using the Test-LmServerConnection command, for example:

Test-LmServerConnection –ComputerName 10.11.0.60 –Port 443 -Verbose

To retreive a list of available commands, run the following command:

Get-Command -Module Kemp.LoadBalancer.Powershell

To retrieve the build number of the PowerShell module, run the following command:

(Get-Module Kemp.LoadBalancer.Powershell).ReleaseNotes