Skip to content

Instantly share code, notes, and snippets.

View perplexityjeff's full-sized avatar

Jeffrey Jansma perplexityjeff

View GitHub Profile
@perplexityjeff
perplexityjeff / Install-GLPIAgent.ps1
Last active April 30, 2025 06:17
Silently remote deployment of the GLPI Agent using PowerShell and PSSession on Windows
[CmdletBinding()]
param
(
[Parameter(Mandatory=$true)][string]$ComputerName,
[Parameter(Mandatory=$true)][pscredential]$Credential,
[string]$Version = "Latest",
[string]$Server = "https://glpi.example.com",
[int]$DownloadTimeSeconds = 10,
[switch]$ForceInventory
)