次の方法で共有


New-SCVirtualFibreChannelAdapter

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

Syntax

New-SCVirtualFibreChannelAdapter
   -VM <VM>
   [-VirtualFibreChannelSAN <HostFibreChannelVirtualSAN>]
   [-DynamicWorldWideName]
   [-StorageFabricClassification <StorageFabricClassification>]
   [-RunAsynchronously]
   [-PROTipID <Guid>]
   [-JobVariable <String>]
   [-OnBehalfOfUser <String>]
   [-OnBehalfOfUserRole <UserRole>]
   [<CommonParameters>]
New-SCVirtualFibreChannelAdapter
   [-VMMServer <ServerConnection>]
   -JobGroup <Guid>
   [-VirtualFibreChannelSAN <HostFibreChannelVirtualSAN>]
   [-DynamicWorldWideName]
   [-StorageFabricClassification <StorageFabricClassification>]
   [-RunAsynchronously]
   [-PROTipID <Guid>]
   [-JobVariable <String>]
   [-OnBehalfOfUser <String>]
   [-OnBehalfOfUserRole <UserRole>]
   [<CommonParameters>]
New-SCVirtualFibreChannelAdapter
   [-VMMServer <ServerConnection>]
   -JobGroup <Guid>
   [-PrimaryWorldWideNodeName <String>]
   [-PrimaryWorldWidePortName <String>]
   [-SecondaryWorldWideNodeName <String>]
   [-SecondaryWorldWidePortName <String>]
   [-VirtualFibreChannelSAN <HostFibreChannelVirtualSAN>]
   [-StaticWorldWideName]
   [-StorageFabricClassification <StorageFabricClassification>]
   [-RunAsynchronously]
   [-PROTipID <Guid>]
   [-JobVariable <String>]
   [-OnBehalfOfUser <String>]
   [-OnBehalfOfUserRole <UserRole>]
   [<CommonParameters>]
New-SCVirtualFibreChannelAdapter
   -VM <VM>
   -PrimaryWorldWideNodeName <String>
   -PrimaryWorldWidePortName <String>
   -SecondaryWorldWideNodeName <String>
   -SecondaryWorldWidePortName <String>
   [-VirtualFibreChannelSAN <HostFibreChannelVirtualSAN>]
   [-StaticWorldWideName]
   [-StorageFabricClassification <StorageFabricClassification>]
   [-RunAsynchronously]
   [-PROTipID <Guid>]
   [-JobVariable <String>]
   [-OnBehalfOfUser <String>]
   [-OnBehalfOfUserRole <UserRole>]
   [<CommonParameters>]
New-SCVirtualFibreChannelAdapter
   -VMTemplate <Template>
   [-StaticWorldWideName]
   [-StorageFabricClassification <StorageFabricClassification>]
   [-RunAsynchronously]
   [-PROTipID <Guid>]
   [-JobVariable <String>]
   [-OnBehalfOfUser <String>]
   [-OnBehalfOfUserRole <UserRole>]
   [<CommonParameters>]
New-SCVirtualFibreChannelAdapter
   -VMTemplate <Template>
   [-DynamicWorldWideName]
   [-StorageFabricClassification <StorageFabricClassification>]
   [-RunAsynchronously]
   [-PROTipID <Guid>]
   [-JobVariable <String>]
   [-OnBehalfOfUser <String>]
   [-OnBehalfOfUserRole <UserRole>]
   [<CommonParameters>]
New-SCVirtualFibreChannelAdapter
   -HardwareProfile <HardwareProfile>
   [-DynamicWorldWideName]
   [-StorageFabricClassification <StorageFabricClassification>]
   [-RunAsynchronously]
   [-PROTipID <Guid>]
   [-JobVariable <String>]
   [-OnBehalfOfUser <String>]
   [-OnBehalfOfUserRole <UserRole>]
   [<CommonParameters>]
New-SCVirtualFibreChannelAdapter
   -HardwareProfile <HardwareProfile>
   [-StaticWorldWideName]
   [-StorageFabricClassification <StorageFabricClassification>]
   [-RunAsynchronously]
   [-PROTipID <Guid>]
   [-JobVariable <String>]
   [-OnBehalfOfUser <String>]
   [-OnBehalfOfUserRole <UserRole>]
   [<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
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-HardwareProfile

Specifies a hardware profile object.

Type:HardwareProfile
Position:Named
Default value:None
Required:True
Accept pipeline input:True
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
Position:Named
Default value:None
Required:True
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
Position:Named
Default value:None
Required:False
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
Position:Named
Default value:None
Required:False
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
Position:Named
Default value:None
Required:False
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
Position:Named
Default value:None
Required:True
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
Position:Named
Default value:None
Required:True
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
Position:Named
Default value:None
Required:False
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
Position:Named
Default value:None
Required:False
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
Position:Named
Default value:None
Required:True
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
Position:Named
Default value:None
Required:True
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
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-StorageFabricClassification

Specifies a classification for storage Fibre Channel fabric.

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

-VirtualFibreChannelSAN

Specifies a host Fibre Channel virtual SAN object.

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

-VM

Specifies a virtual machine object.

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

-VMMServer

Specifies a Virtual Machine Manager (VMM) server object.

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

-VMTemplate

Specifies a VMM template object used to create virtual machines.

Type:Template
Aliases:Template
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Outputs

VirtualFibreChannelAdapter

This cmdlet returns a VirtualFibreChannelAdapter object.