Standalone backup agent for Microsoft Windows servers and workstations (formerly Veeam Endpoint Backup FREE)
Post Reply
Beardge
Novice
Posts: 5
Liked: never
Joined: Jul 25, 2018 8:09 pm
Full Name: George. Beard
Contact:

wmiobject agent

Post by Beardge »

Get-WmiObject -Class agent -ComputerName $computer -Namespace $namespace | Select-Object *
installationStatus = 2 and License = 3

Could someone break down what the numbers represent? And also any other number that might show up? There are no descriptions found within the class properties.

Get-WmiObject -Class Agent -ComputerName $computer -Namespace $namespace | Select-Object displayname, ipaddresses, installationstatus, isagentinstalled, license |sort-object displayname| ConvertTo-Html -fragment

Trying to obtain the total number of licenses and # in use

Thanks, for any assistance.
Dima P.
Product Manager
Posts: 14417
Liked: 1576 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: wmiobject agent

Post by Dima P. »

Hello George.

Are you trying to query WMI on Veeam B&R server? Thanks.
Beardge
Novice
Posts: 5
Liked: never
Joined: Jul 25, 2018 8:09 pm
Full Name: George. Beard
Contact:

Re: wmiobject agent

Post by Beardge »

At the moment WMI.
Dima P.
Product Manager
Posts: 14417
Liked: 1576 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: wmiobject agent

Post by Dima P. »

May I propose PowerShell, specifically, the approach described in this post? WMI is unsupported way of getting any info from Veeam B&R server, so, unfortunately, I neither can't comment nor propose any solution related to internal calls. Cheers!
Beardge
Novice
Posts: 5
Liked: never
Joined: Jul 25, 2018 8:09 pm
Full Name: George. Beard
Contact:

Re: wmiobject agent

Post by Beardge »

I can convert it to powershell that is not a problem, I need explanation or definition of what the numbers represent? Also, what other numbers may be found?

2 success? or installed? Missing? invalid?
3 ???

installationStatus = 2 and License = 3
Dima P.
Product Manager
Posts: 14417
Liked: 1576 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: wmiobject agent

Post by Dima P. »

George,

Unfortunately I can't comment. That's why I advised you to look at PowerShell options: all cmdlets are well documented and you can easily find the output structure whenever its required.
Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests