> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/LabtechConsulting/LabTech-Powershell-Module/llms.txt
> Use this file to discover all available pages before exploring further.

# LabTech PowerShell Module

> A comprehensive PowerShell module for managing ConnectWise Automate (LabTech) agents on Windows endpoints.

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.

<CardGroup cols={2}>
  <Card title="Quick Start" icon="rocket" href="/quickstart">
    Import the module and manage your first agent in minutes
  </Card>

  <Card title="Installation" icon="download" href="/installation">
    All the ways to import and use the module
  </Card>

  <Card title="Agent Lifecycle" icon="arrows-rotate" href="/guides/agent-lifecycle">
    Install, reinstall, update, and remove agents
  </Card>

  <Card title="Command Reference" icon="terminal" href="/reference/install-ltservice">
    Full reference for all 25 cmdlets
  </Card>
</CardGroup>

## What you can do

<CardGroup cols={3}>
  <Card title="Install agents" icon="circle-plus" href="/reference/install-ltservice">
    Deploy the Automate agent from any LabTech server with full parameter control
  </Card>

  <Card title="Service control" icon="play" href="/reference/start-ltservice">
    Start, stop, restart, and reset LTService and LTSvcMon
  </Card>

  <Card title="Diagnostics" icon="magnifying-glass" href="/reference/get-ltserviceinfo">
    Read registry config, error logs, and probe errors as PowerShell objects
  </Card>

  <Card title="Proxy support" icon="network-wired" href="/guides/proxy-configuration">
    Configure proxy settings that apply to all module communications
  </Card>

  <Card title="Security encoding" icon="lock" href="/guides/security-encoding">
    Encode and decode LabTech security strings for script automation
  </Card>

  <Card title="Backup & restore" icon="floppy-disk" href="/reference/new-ltservicebackup">
    Back up agent configuration before making changes
  </Card>
</CardGroup>

## Getting started

<Steps>
  <Step title="Import the module">
    Load the module directly from the internet in any PowerShell session:

    ```powershell theme={null}
    (New-Object Net.WebClient).DownloadString('https://bit.ly/LTPoSh') | iex
    ```
  </Step>

  <Step title="Check agent status">
    Inspect the currently installed agent's registry settings:

    ```powershell theme={null}
    Get-LTServiceInfo
    ```
  </Step>

  <Step title="Install or reinstall">
    Install the agent on a new machine or reinstall it on an existing one:

    ```powershell theme={null}
    Install-LTService -Server 'https://lt.domain.com' -ServerPassword 'yourpassword' -LocationID 1
    ```
  </Step>

  <Step title="Verify connectivity">
    Test that required ports are reachable before installation:

    ```powershell theme={null}
    Test-LTPorts -Server 'https://lt.domain.com'
    ```
  </Step>
</Steps>

<Note>
  The module requires **Administrator privileges** for all install, uninstall, and service operations. Run your PowerShell session as Administrator.
</Note>
