Set-VMFibreChannelHba

Set-VMFibreChannelHba

Configures a Fibre Channel host bus adapter on a virtual machine.

Syntax

Parameter Set: VMName And Only SAN
Set-VMFibreChannelHba [-VMName] <String> [-WorldWideNodeNameSetA] <String> [-WorldWidePortNameSetA] <String> [-WorldWideNodeNameSetB] <String> [-WorldWidePortNameSetB] <String> -SanName <String> [-CimSession <Microsoft.Management.Infrastructure.CimSession[]> ] [-ComputerName <String[]> ] [-Credential <System.Management.Automation.PSCredential[]> ] [-Passthru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: Object And Generate WWN
Set-VMFibreChannelHba [-VMFibreChannelHba] <VMFibreChannelHba> -GenerateWwn [-Passthru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: Object And Manual WWN
Set-VMFibreChannelHba [-VMFibreChannelHba] <VMFibreChannelHba> [-NewWorldWideNodeNameSetA <String> ] [-NewWorldWideNodeNameSetB <String> ] [-NewWorldWidePortNameSetA <String> ] [-NewWorldWidePortNameSetB <String> ] [-Passthru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: Object And Only SAN
Set-VMFibreChannelHba [-VMFibreChannelHba] <VMFibreChannelHba> -SanName <String> [-Passthru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: VMName And Generate WWN
Set-VMFibreChannelHba [-VMName] <String> [-WorldWideNodeNameSetA] <String> [-WorldWidePortNameSetA] <String> [-WorldWideNodeNameSetB] <String> [-WorldWidePortNameSetB] <String> -GenerateWwn [-CimSession <Microsoft.Management.Infrastructure.CimSession[]> ] [-ComputerName <String[]> ] [-Credential <System.Management.Automation.PSCredential[]> ] [-Passthru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: VMName And Manual WWN
Set-VMFibreChannelHba [-VMName] <String> [-WorldWideNodeNameSetA] <String> [-WorldWidePortNameSetA] <String> [-WorldWideNodeNameSetB] <String> [-WorldWidePortNameSetB] <String> [-CimSession <Microsoft.Management.Infrastructure.CimSession[]> ] [-ComputerName <String[]> ] [-Credential <System.Management.Automation.PSCredential[]> ] [-NewWorldWideNodeNameSetA <String> ] [-NewWorldWideNodeNameSetB <String> ] [-NewWorldWidePortNameSetA <String> ] [-NewWorldWidePortNameSetB <String> ] [-Passthru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detaillierte Beschreibung

The Set-VMFibreChannelHba cmdlet configures a Fibre Channel host bus adapter on a virtual machine.

Parameter

-CimSession<Microsoft.Management.Infrastructure.CimSession[]>

Das Cmdlet wird in einer Remotesitzung oder auf einem Remotecomputer ausgeführt. Geben Sie einen Computernamen oder ein Sitzungsobjekt ein, wie z. B. die Ausgabe eines New-CimSession oder Get-CimSession-Cmdlets. Der Standardwert ist die aktuelle Sitzung auf dem lokalen Computer.

Aliase

none

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-ComputerName<String[]>

Specifies one or more Hyper-V hosts on which a Fibre Channel host bus adapter is to be configured. 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.

Aliase

none

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Credential<System.Management.Automation.PSCredential[]>

Specifies one or more user accounts that have permission to perform this action. The default is the current user.

Aliase

none

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Passthru

Specifies that an object is to be passed through to the pipeline representing the configured Fibre Channel host bus adapter.

Aliase

none

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-SanName<String>

Specifies the name of the virtual storage area network (SAN) to be associated with the Fibre Channel host bus adapter.

Aliase

none

Erforderlich?

true

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-VMFibreChannelHba<VMFibreChannelHba>

Specifies the Fibre Channel host bus adapter to be configured.

Aliase

none

Erforderlich?

true

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

True (ByValue)

Platzhalterzeichen akzeptieren?

false

-WorldWideNodeNameSetA<String>

Specifies the World Wide Node name of address set A that is associated with the Fibre Channel host bus adapter.

Aliase

Wwnn1

Erforderlich?

true

Position?

2

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-WorldWideNodeNameSetB<String>

Specifies the World Wide Node name of address set B that is associated with the Fibre Channel host bus adapter.

Aliase

Wwnn2

Erforderlich?

true

Position?

4

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-WorldWidePortNameSetA<String>

Specifies the World Wide Port name of address set A that is associated with the Fibre Channel host bus adapter.

Aliase

Wwpn1

Erforderlich?

true

Position?

3

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-WorldWidePortNameSetB<String>

Specifies the World Wide Port name of address set B that is associated with the Fibre Channel host bus adapter.

Aliase

Wwpn2

Erforderlich?

true

Position?

5

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-GenerateWwn

Specifies that the World Wide Names for sets A and B are to be generated automatically. When this parameter is specified, parameters WorldWideNodeNameSetA, WorldWideNodeNameSetB, WorldWidePortNameSetA, and WorldWidePortNameSetB cannot be used.

Aliase

none

Erforderlich?

true

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-NewWorldWideNodeNameSetA<String>

Specifies the World Wide Node name of address set A to be associated with the Fibre Channel host bus adapter.

Aliase

none

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-NewWorldWideNodeNameSetB<String>

Specifies the World Wide Node name of address set B to be associated with the Fibre Channel host bus adapter.

Aliase

none

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-NewWorldWidePortNameSetA<String>

Specifies the World Wide Port name of address set A to be associated with the Fibre Channel host bus adapter.

Aliase

none

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-NewWorldWidePortNameSetB<String>

Specifies the World Wide Port name of address set B to be associated with the Fibre Channel host bus adapter.

Aliase

none

Erforderlich?

false

Position?

named

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-VMName<String>

Specifies the name of the virtual machine to which the virtual Fibre Channel host bus adapter parameters are to be set.

Aliase

none

Erforderlich?

true

Position?

1

Standardwert

none

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-Confirm

Fordert Sie vor der Ausführung des Cmdlet zum Bestätigen auf.

Erforderlich?

false

Position?

named

Standardwert

false

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

-WhatIf

Zeit, was passieren würde, wenn das Cmdlet ausgeführt wird. Das Cmdlet wird nicht ausgeführt.

Erforderlich?

false

Position?

named

Standardwert

false

Pipelineeingaben akzeptieren?

false

Platzhalterzeichen akzeptieren?

false

<CommonParameters>

Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer und -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 Sie per Piping an das Cmdlet übergeben können.

Ausgaben

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

Beispiele

Example 1

Configures a Fibre Channel host bus adapter on a virtual machine named MyVM, with World Wide Names to be generated automatically.

PS C:\> Get-VMFibreChannelHba –VMName MyVM | Set-VMFibreChannelHba –GenerateWwn