PowerShell script exchange
Post Reply
Mr Dudeman
Influencer
Posts: 20
Liked: never
Joined: Mar 08, 2017 10:19 pm
Full Name: David Dartnell
Contact:

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

Post by Mr Dudeman »

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
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

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

Post by veremin »

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.
Mr Dudeman
Influencer
Posts: 20
Liked: never
Joined: Mar 08, 2017 10:19 pm
Full Name: David Dartnell
Contact:

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

Post by Mr Dudeman »

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
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

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

Post by veremin »

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.
Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests