PowerShell script exchange
Post Reply
borison89
Lurker
Posts: 1
Liked: never
Joined: Dec 14, 2021 8:45 am
Full Name: Роман Борисов
Contact:

Changing vSwitch/VLAN on HyperV Replicated Job by Powershell scripting

Post by borison89 »

Hi community!

tell me please, how i can change vswitch and vlan via powershell in backup replication job for hyperv?
in gui i can find networking tab
Image
but in powershell I can't find needed parameters in comandlet Add-VBRHvReplicaJob

for example, for VMware i can find parameters in comandlet Add-VBRViReplicaJob
[-SourceNetwork <VBRViNetworkInfo[]>] [-TargetNetwork <VBRViNetworkInfo[]>]

how to define source and target network mapping (switch and vlan) for hyperv in powershell?
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 670 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Changing vSwitch/VLAN on HyperV Replicated Job by Powershell scripting

Post by oleg.feoktistov »

Hello Roman,

I'm afraid that's currently not possible neither with cmdlets, nor with any underlying .NET method.
I have noted your request though.

Best regards,
Oleg
Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests