Get-VMMigrationNetwork

Get-VMMigrationNetwork

Gets the networks added for migration to one or more virtual machine hosts.

Syntax

Parameter Set: Default
Get-VMMigrationNetwork [[-Subnet] <String[]> ] [-ComputerName <String[]> ] [-Priority <UInt32[]> ] [ <CommonParameters>]

Detaillierte Beschreibung

The Get-VMMigrationNetwork cmdlet gets the networks added for migration to one or more virtual machine hosts.

Parameter

-ComputerName<String[]>

Specifies one or more Hyper-V hosts on which the networks added for migration are to be retrieved. NetBIOS names, IP addresses, and fully-qualified domain names are allowable. The default is the local computer — use “localhost” or a dot (“.”) to specify the local computer explicitly.

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

.

Pipelineeingaben akzeptieren?

true (ByValue, ByPropertyName)

Platzhalterzeichen akzeptieren?

false

-Priority<UInt32[]>

Specifies the priority of the networks to be retrieved.

Aliasse

Keiner

Erforderlich?

false

Position?

named

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Subnet<String[]>

Specifies a string representing an IPv4 or IPv6 subnet mask which identifies the networks to be retrieved.

Aliasse

Keiner

Erforderlich?

false

Position?

1

Standardwert

Keiner

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

true

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Eingaben

Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.

Ausgaben

Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.

  • Microsoft.HyperV.PowerShell.MigrationNetwork

Beispiele

Example 1

Gets all networks added for migration to the local virtual machine host.

PS C:\> Get-VMMigrationNetwork

Example 2

Gets all networks added for migration to the local virtual machine host having a priority of 8.

PS C:\> Get-VMMigrationNetwork –Priority 8

Example 3

Gets all networks added for migration having a subnet starting with 192.168.

PS C:\> Get-VMMigrationNetwork 192.168.*