PowerShell Logo Small

Set-VMMigrationNetwork



This is the built-in help made by Microsoft for the command 'Set-VMMigrationNetwork', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Sets the subnet, subnet mask, and/or priority of a migration network.

SYNTAX


Set-VMMigrationNetwork [-Subnet] <String> [[-NewSubnet] <String>] [-ComputerName <String[]>] [-NewPriority <UInt32>] [-Passthru] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-VMMigrationNetwork cmdlet sets the subnet, subnet mask, and/or priority of a migration network.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/?LinkID=306947

REMARKS

<

Examples


Example 1

PS C:\>Set-VMMigrationNetwork 192.168.10.1 192.168.10.3



This example changes an IPv4 address on a migration network.




Example 2

PS C:\>Set-VMMigrationNetwork 192.168.10.* 192.168.10.3



This example changes the IPv4 address on a migration network selected using a wildcard.




Example 3

PS C:\>Set-VMMigrationNetwork 2001:836c:6456:1c99::/64 –NewPriority 12



This example changes the priority of a migration network to 12.