09-01-2017 12:36 PM
I'm looking to get a small powershell script that will list out all the Agetn Servers that require an update/upgrade. In the BE16 console the icon is different to indicate that agent has an update pending on it. The Get-BEAgentServer doesn't seem to have that information.
And is there any documentation on the cmdlets in the BEMCLI? the downloaded help file has no information in it at all.
Bill
09-18-2017 03:40 AM
Hi Bill,
I believe below BEMCLI command will fix your requirement.
BEMCLI> Get-BEAgentServer | select Name, BackupExecVersion, PatchesMatchBackupExecServer
Result:
Name BackupExecVersion PatchesMatchBackupExecServer
---- ----------------- -------------------------
WIN-V98FVT15V1I 16.0.1142.1327 False
WIN-KVUIAD84EVK 16.0.1142.1632 True
When you see 'False' in PatchesMatchBackupExecServer column, it means the concern server require patch update.
Hope this helps.
- Nagesh