Get-VBRServer not returning correct object (ID#02135643)

PowerShell script exchange

Get-VBRServer not returning correct object (ID#02135643)

Veeam Logoby Mr Dudeman » Wed Apr 26, 2017 1:56 am

Hi All,

I am issuing the command Get-VBRServer -Name [SRV_NAME] for a number of Hyper-V Hosts. In most instances I get a single set of data received back from the command -


Info : [SRV_NAME] (Microsoft Hyper-V Server)
ParentId : f80440ce-yyyy-4991-xxxx-61979ae24878
Id : 751c4613-xxxxx-502-a5a6-c4c3a8e3d712
Name : [SRV_NAME]
Reference : 9bb55cd3-xxxx-47ee-yyyy-bdcbc2fd1853
Description :
IsUnavailable : False
Type : HvServer
ApiVersion : Unknown
PhysHostId : 89af818e-xxxx-43ae-yyyyy-dc75e3f8b61d
ProxyServicesCreds : Veeam.Backup.Common.CCredentials


However in some instances I get a 'double dosage' of information returned -


Info : [SRV_NAME] (Microsoft Hyper-V Server)
ParentId : f80440ce-yyyy-4991-xxxx-61979ae24878
Id : 751c4613-xxxxx-502-a5a6-c4c3a8e3d712
Name : [SRV_NAME]
Reference : 9bb55cd3-xxxx-47ee-yyyy-bdcbc2fd1853
Description :
IsUnavailable : False
Type : HvServer
ApiVersion : Unknown
PhysHostId : 00000000-0000-0000-0000-000000000000
ProxyServicesCreds : Veeam.Backup.Common.CCredentials

Info : [SRV_NAME] (Microsoft Hyper-V Server)
ParentId : f80440ce-yyyy-4991-xxxx-61979ae24878
Id : 751c4613-xxxxx-502-a5a6-c4c3a8e3d712
Name : [SRV_NAME]
Reference : 9bb55cd3-xxxx-47ee-yyyy-bdcbc2fd1853
Description :
IsUnavailable : False
Type : HvServer
ApiVersion : Unknown
PhysHostId : 89af818e-xxxx-43ae-yyyyy-dc75e3f8b61d
ProxyServicesCreds : Veeam.Backup.Common.CCredentials


The only distinction that I have noticed between those Servers which return one block of information as opposed to two blocks is that those returning two blocks always show the 'PhysHostId' as '00000000-0000-0000-0000-000000000000' in the first instance.

This issue is making it problematic for me to run the Reset-HvVmChangeTracking cmdlet, because it expects a single object of type 'Veeam.Backup.Core.Common.CHost' rather than a 'System.Object[]'.

Any help here will be greatly appreciated.

Kind Regards,

Davo
Mr Dudeman
Influencer
 
Posts: 20
Liked: never
Joined: Wed Mar 08, 2017 10:19 pm
Full Name: David Dartnell

Re: Get-VBRServer not returning correct object (ID#02135643)

Veeam Logoby v.Eremin » Wed Apr 26, 2017 7:04 pm

Let our support team check the product database. It seems that there are some duplicated server references, that's why a given server gets output twice. Thanks.
v.Eremin
Veeam Software
 
Posts: 13734
Liked: 1027 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Get-VBRServer not returning correct object (ID#02135643)

Veeam Logoby Mr Dudeman » Wed Apr 26, 2017 9:29 pm

Hi Eremin,

Should I open a support case for this through my portal login, or will you guys chase this up and get back to me on the forum?

Kind Regards,

Davo
Mr Dudeman
Influencer
 
Posts: 20
Liked: never
Joined: Wed Mar 08, 2017 10:19 pm
Full Name: David Dartnell

Re: Get-VBRServer not returning correct object (ID#02135643)

Veeam Logoby v.Eremin » Thu Apr 27, 2017 9:17 am

You seem to have opened a ticket for this already, so, no need to bother with additional case.

Support portal and these forums are managed by different teams (Support & PM accordingly), thus, are not directly connected. The resolution should be provided within existing case and we'd appreciate if you find a time and update the topic with the results of support team findings.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13734
Liked: 1027 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to PowerShell



Who is online

Users browsing this forum: Google [Bot] and 1 guest