New-SCVirtualFibreChannelAdapter

Creates a Virtual Fibre Channel adapter in a hardware profile, virtual machine template, or virtual machine instance.

Syntax

New-SCVirtualFibreChannelAdapter [-DynamicWorldWideName] [-JobVariable <String>] [-OnBehalfOfUser <String>]
 [-OnBehalfOfUserRole <UserRole>] [-PROTipID <Guid>] [-RunAsynchronously]
 [-StorageFabricClassification <StorageFabricClassification>] -VM <VM>
 [-VirtualFibreChannelSAN <HostFibreChannelVirtualSAN>] [<CommonParameters>]
New-SCVirtualFibreChannelAdapter [-DynamicWorldWideName] -JobGroup <Guid> [-JobVariable <String>]
 [-OnBehalfOfUser <String>] [-OnBehalfOfUserRole <UserRole>] [-PROTipID <Guid>] [-RunAsynchronously]
 [-StorageFabricClassification <StorageFabricClassification>] [-VMMServer <ServerConnection>]
 [-VirtualFibreChannelSAN <HostFibreChannelVirtualSAN>] [<CommonParameters>]
New-SCVirtualFibreChannelAdapter [-DynamicWorldWideName] [-JobVariable <String>] [-OnBehalfOfUser <String>]
 [-OnBehalfOfUserRole <UserRole>] [-PROTipID <Guid>] [-RunAsynchronously]
 [-StorageFabricClassification <StorageFabricClassification>] -VMTemplate <Template> [<CommonParameters>]
New-SCVirtualFibreChannelAdapter [-DynamicWorldWideName] -HardwareProfile <HardwareProfile>
 [-JobVariable <String>] [-OnBehalfOfUser <String>] [-OnBehalfOfUserRole <UserRole>] [-PROTipID <Guid>]
 [-RunAsynchronously] [-StorageFabricClassification <StorageFabricClassification>] [<CommonParameters>]
New-SCVirtualFibreChannelAdapter -HardwareProfile <HardwareProfile> [-JobVariable <String>]
 [-OnBehalfOfUser <String>] [-OnBehalfOfUserRole <UserRole>] [-PROTipID <Guid>] [-RunAsynchronously]
 [-StaticWorldWideName] [-StorageFabricClassification <StorageFabricClassification>] [<CommonParameters>]
New-SCVirtualFibreChannelAdapter -JobGroup <Guid> [-JobVariable <String>] [-OnBehalfOfUser <String>]
 [-OnBehalfOfUserRole <UserRole>] [-PROTipID <Guid>] [-PrimaryWorldWideNodeName <String>]
 [-PrimaryWorldWidePortName <String>] [-RunAsynchronously] [-SecondaryWorldWideNodeName <String>]
 [-SecondaryWorldWidePortName <String>] [-StaticWorldWideName]
 [-StorageFabricClassification <StorageFabricClassification>] [-VMMServer <ServerConnection>]
 [-VirtualFibreChannelSAN <HostFibreChannelVirtualSAN>] [<CommonParameters>]
New-SCVirtualFibreChannelAdapter [-JobVariable <String>] [-OnBehalfOfUser <String>]
 [-OnBehalfOfUserRole <UserRole>] [-PROTipID <Guid>] -PrimaryWorldWideNodeName <String>
 -PrimaryWorldWidePortName <String> [-RunAsynchronously] -SecondaryWorldWideNodeName <String>
 -SecondaryWorldWidePortName <String> [-StaticWorldWideName]
 [-StorageFabricClassification <StorageFabricClassification>] -VM <VM>
 [-VirtualFibreChannelSAN <HostFibreChannelVirtualSAN>] [<CommonParameters>]
New-SCVirtualFibreChannelAdapter [-JobVariable <String>] [-OnBehalfOfUser <String>]
 [-OnBehalfOfUserRole <UserRole>] [-PROTipID <Guid>] [-RunAsynchronously] [-StaticWorldWideName]
 [-StorageFabricClassification <StorageFabricClassification>] -VMTemplate <Template> [<CommonParameters>]

Description

The New-SCVirtualFibreChannelAdapter cmdlet creates a Virtual Fibre Channel adapter in a hardware profile, virtual machine template, or virtual machine instance.

Parameters

-DynamicWorldWideName

Indicates that the cmdlet uses the dynamic world-wide name provided by Hyper-V.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-HardwareProfile

Specifies a hardware profile object.

Type:HardwareProfile
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-JobGroup

Specifies an identifier for a series of commands that will run as a set just before the final command that includes the same job group identifier runs.

Type:Guid
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-JobVariable

Specifies that job progress is tracked and stored in the variable named by this parameter.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OnBehalfOfUser

Specifies a user name. This cmdlet operates on behalf of the user that this parameter specifies.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-OnBehalfOfUserRole

Specifies a user role. To obtain a user role, use the Get-SCUserRole cmdlet. This cmdlet operates on behalf of the user role that this parameter specifies.

Type:UserRole
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PROTipID

Specifies the ID of the Performance and Resource Optimization tip (PRO tip) that triggered this action. This parameter lets you audit PRO tips.

Type:Guid
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PrimaryWorldWideNodeName

Specifies the primary world-wide node name for a virtual machine Virtual Fibre Channel adapter.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PrimaryWorldWidePortName

Specifies the primary world-wide port name for a virtual machine Virtual Fibre Channel adapter.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SecondaryWorldWideNodeName

Specifies the secondary world-wide node name for a virtual machine virtual Fibre Channel adapter.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SecondaryWorldWidePortName

Specifies the secondary world-wide port name for a virtual machine Virtual Fibre Channel adapter.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-StaticWorldWideName

Indicates that the cmdlet uses the static world-wide name provided by the administrator.

Type:SwitchParameter
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-StorageFabricClassification

Specifies a classification for storage Fibre Channel fabric.

Type:StorageFabricClassification
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VM

Specifies a virtual machine object.

Type:VM
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VMMServer

Specifies a Virtual Machine Manager (VMM) server object.

Type:ServerConnection
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VMTemplate

Specifies a VMM template object used to create virtual machines.

Type:Template
Aliases:Template
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VirtualFibreChannelSAN

Specifies a host Fibre Channel virtual SAN object.

Type:HostFibreChannelVirtualSAN
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

VirtualFibreChannelAdapter

This cmdlet returns a **VirtualFibreChannelAdapter** object.