Import the Progress Kemp PowerShell Module
- Last Updated: November 6, 2024
- 2 minute read
- LoadMaster
- LoadMaster GA
- Documentation
The latest Progress Kemp PowerShell Module can be found on the following page: LoadMaster Other Downloads.
The module contains the following files within the Kemp.LoadBalancer.Powershell folder:
- Kemp.LoadBalancer.Powershell.psd1
- Kemp.LoadBalancer.Powershell.psm1
- deprecated.psm1
- Kemp.LoadBalancer.Powershell-Help.xml
Import the Progress Kemp PowerShell Module
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
You can test the connection to the load balancer by using the Test-LmServerConnection command, for example:
Test-LmServerConnection -ComputerName 10.10.99.100 -Port 8443 -Verbose