Skip to content

PowerShell module · 17.2

Import the module and check the connection

Import the module and check that the management service answers:

Import-Module iTrain.TLSPilot
Get-TLSPilotApiHealth
Get-TLSPilotStatus

Get-TLSPilotApiHealth returns status = ok as soon as the Management API is reachable. Get-TLSPilotStatus also shows the installed version, the license seat usage and the state of the last cycle.

If TLSPilot runs on another host and you have made its Management API reachable from your host, first point the session to that host:

Set-TLSPilotBaseUrl -Url 'http://tlspilot01:5188'