CmdID / PowerShell / Cmdlets / Set
Set-VMMigrationNetwork
Sets the subnet, subnet mask, and/or priority of a migration network. Windows Server PowerShell reference
From the Windows Server PowerShell reference 9 parameters Its page in the reference
Parameters
-CimSessionRuns the cmdlet in a remote session or on a remote computer.-ComputerNameSpecifies one or more Hyper-V hosts on which this cmdlet operates.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies one or more user accounts that have permission to perform this action.-NewPrioritySpecifies the new priority of the virtual machine migration network.-NewSubnetSpecifies a string representing the new subnet value to be set on the migration network.-PassthruSpecifies that a Microsoft.HyperV.PowerShell.MigrationNetwork is to be passed through to the pipeline representing the migration network to be configured.-SubnetSpecifies a string representing an IPv4 or IPv6 subnet mask which identifies the migration network whose properties are to be set.-WhatIf, -wiShows what would happen if the cmdlet runs.