- 
				Beardge
 - Novice
 - Posts: 5
 - Liked: never
 - Joined: Jul 25, 2018 8:09 pm
 - Full Name: George. Beard
 - Contact:
 
wmiobject agent
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.
			
			
									
						
										
						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: 14946
 - Liked: 1836 times
 - Joined: Feb 04, 2013 2:07 pm
 - Full Name: Dmitry Popov
 - Location: Prague
 - Contact:
 
Re: wmiobject agent
Hello George.
Are you trying to query WMI on Veeam B&R server? Thanks.
			
			
									
						
										
						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
At the moment WMI.
			
			
									
						
										
						- 
				Dima P.
 - Product Manager
 - Posts: 14946
 - Liked: 1836 times
 - Joined: Feb 04, 2013 2:07 pm
 - Full Name: Dmitry Popov
 - Location: Prague
 - Contact:
 
Re: wmiobject agent
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
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
			
			
									
						
										
						2 success? or installed? Missing? invalid?
3 ???
installationStatus = 2 and License = 3
- 
				Dima P.
 - Product Manager
 - Posts: 14946
 - Liked: 1836 times
 - Joined: Feb 04, 2013 2:07 pm
 - Full Name: Dmitry Popov
 - Location: Prague
 - Contact:
 
Re: wmiobject agent
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.
			
			
									
						
										
						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.
Who is online
Users browsing this forum: No registered users and 11 guests