PowerShell module for FleetDM API integration
Welcome to the FleetDM-PowerShell module documentation. This lightweight module provides PowerShell cmdlets for managing and interacting with FleetDM Free Tier instances through the REST API, without requiring Premium licenses or external dependencies.
# Install the module from PowerShell Gallery
Install-Module -Name FleetDM-PowerShell
# Import the module
Import-Module FleetDM-PowerShell
# Connect to FleetDM
$token = Read-Host -AsSecureString "Enter API Token"
Connect-FleetDM -BaseUri "https://fleet.example.com" -ApiToken $token
# Get all online hosts
Get-FleetHost -Status online
Install-Module -Name FleetDM-PowerShell -Scope CurrentUser
git clone https://github.com/Jorgeasaurus/FleetDM-PowerShell.git
Import-Module ./FleetDM-PowerShell/FleetDM-PowerShell.psd1
For detailed help on any cmdlet, use PowerShell’s built-in help system:
Get-Help Connect-FleetDM -Full
Get-Help Get-FleetHost -Examples