Examples/02-Get-ConnectorInventory.ps1

<#
    Lists connectors and HTTPS relays, and reports which connectors are not
    running the latest version.
#>


Get-SIAConnector | Format-Table id, hostName, status, version, isLatestVersion -AutoSize

Write-Host "`nConnectors not on the latest version:" -ForegroundColor Yellow
Get-SIAConnector | Where-Object { -not $_.isLatestVersion } | Format-Table id, hostName, version -AutoSize

Get-SIAHttpsRelay | Format-Table id, hostName, status, version -AutoSize