cancel
Showing results for 
Search instead for 
Did you mean: 

BEMCLI Agent Server report

BJDBOYER
Level 3

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

1 REPLY 1

NageshPatil
Moderator
Moderator
Employee

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