Clear up oversight in a posted script
Frequently, ALL of my installed agents (across the few customers I have) suddenly show up as offline. I was previously a Starlink customer, I now have fiber; this has happened with both providers. I'm aware of the recent Cloudflare outage; this has happened before the outage, so it's not that.
Using the PowerShell script from https://support.atera.com/hc/en-us/articles/215955967-Troubleshoot-Atera-s-Windows-agent... nothing came up as wrong.
HOWEVER, looking under Category: Atera Agent Version, it shows the following:
AteraAgent.exe Version: 2.5.0.0
AteraAgent.exe not found at C:\Program Files\ATERA Networks\AteraAgent\AteraAgent.exe
The version... my portal shows 2.4.7.0, but the Details tab of the executable shows 2.5. But the "not found error", while technically correct, the listed path is incorrect. The correct path is C:\Program Files\ATERA Networks\AteraAgent\Agent\AteraAgent.exe.
Checking the script, in the Function to check the version of the Atera agent, it IS looking in both locations, but the result is that it only finds AteraAgent.exe in one... that's correct. I think the script needs some cleanup to be clearer and more specific. For example, check both paths, confirm on which path the agent was found, and the alternate path only becomes significant under certain circumstances.
Example:
Write-Host "$([System.IO.Path]::GetFileName($path)) Version: $($fileVersionInfo.FileVersion) found at $path" -ForegroundColor Green
I hope that helps.