Collecting RDM Agent Version from Remote Connections
I currently have 80+ remote servers set up in RDM, and am looking for a way to keep the RDM Agents current on my servers.
Is there a way to poll servers and pull that info into RDM Connections as a tag? field?
Or even a CSV export?
Thoughts?
Thanks
Ron
Nothing built in with RDM Agent so you would need to do it manually with something like the following using the "Execute Via Agent"
Cmd
wmic datafile where name="C:\\Program Files (x86)\\Devolutions\\Remote Desktop Manager\\RDMAgent.exe" get Version /value
or
PowerShell
[System.Diagnostics.FileVersionInfo]::GetVersionInfo("C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RDMAgent.exe").FileVersion
You would then need to read them one by one.
Stéfane Lavergne
Thank you very much for those commands. Is there a way to run those commands in the PowerShell (RDM CmdLet)? that way we could probably get that info as a $VAR, then update a custom field in RDM or something... I need to learn more PS scripting o0