Skip to main content
The LabTech PowerShell Module gives you full control over the ConnectWise Automate agent from the command line. Install, configure, repair, and monitor the LTService on any Windows machine — whether you’re running scripts manually or deploying via RMM automation.

Quick Start

Import the module and manage your first agent in minutes

Installation

All the ways to import and use the module

Agent Lifecycle

Install, reinstall, update, and remove agents

Command Reference

Full reference for all 25 cmdlets

What you can do

Install agents

Deploy the Automate agent from any LabTech server with full parameter control

Service control

Start, stop, restart, and reset LTService and LTSvcMon

Diagnostics

Read registry config, error logs, and probe errors as PowerShell objects

Proxy support

Configure proxy settings that apply to all module communications

Security encoding

Encode and decode LabTech security strings for script automation

Backup & restore

Back up agent configuration before making changes

Getting started

1

Import the module

Load the module directly from the internet in any PowerShell session:
(New-Object Net.WebClient).DownloadString('https://bit.ly/LTPoSh') | iex
2

Check agent status

Inspect the currently installed agent’s registry settings:
Get-LTServiceInfo
3

Install or reinstall

Install the agent on a new machine or reinstall it on an existing one:
Install-LTService -Server 'https://lt.domain.com' -ServerPassword 'yourpassword' -LocationID 1
4

Verify connectivity

Test that required ports are reachable before installation:
Test-LTPorts -Server 'https://lt.domain.com'
The module requires Administrator privileges for all install, uninstall, and service operations. Run your PowerShell session as Administrator.

Build docs developers (and LLMs) love