Edit network mapping for HV Replica

PowerShell script exchange

Edit network mapping for HV Replica

Veeam Logoby CoilDomain » Tue Nov 18, 2014 3:14 pm

It doesn't appear that there are any arguments for this via the normal CMDlet, so I tried the below(with/without [0], but the object is null and I can't change the elements.

Code: Select all
$Job=Get-VBRJob -Name "Replica"
$Options.HvNetworkMappingOptions.NetworkMapping[0].SrcSwitch = "Hyper-V Pub"
$Options.HvNetworkMappingOptions.NetworkMapping[0].TrgSwitch = "LAN Logical Switch"
Posts: 2
Liked: never
Joined: Thu Aug 02, 2012 9:06 pm
Full Name: Jason Ruiz

Return to PowerShell

Who is online

Users browsing this forum: No registered users and 1 guest