New-SCVirtualFibreChannelAdapter

在硬件配置文件、虚拟机模板或虚拟机实例中创建虚拟光纤通道适配器。

语法

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>]

说明

New-SCVirtualFibreChannelAdapter cmdlet 在硬件配置文件、虚拟机模板或虚拟机实例中创建虚拟光纤通道适配器。

参数

-DynamicWorldWideName

指示 cmdlet 使用 Hyper-V 提供的动态世界范围名称。

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

-HardwareProfile

指定硬件配置文件对象。

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

-JobGroup

在运行最后一个包含相同作业组标识符的命令之前,为作为集合运行的一系列命令指定标识符。

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

-JobVariable

指定跟踪作业进度,并将其存储在此参数命名的变量中。

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

-OnBehalfOfUser

指定用户名。 此 cmdlet 代表此参数指定的用户运行。

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

-OnBehalfOfUserRole

指定用户角色。 若要获取用户角色,请使用 Get-SCUserRole cmdlet。 此 cmdlet 代表此参数指定的用户角色运行。

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

-PrimaryWorldWideNodeName

指定虚拟机虚拟光纤通道适配器的主全球节点名称。

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

-PrimaryWorldWidePortName

指定虚拟机虚拟光纤通道适配器的主世界范围端口名称。

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

-PROTipID

指定触发此操作 (PRO 提示) 的性能和资源优化提示的 ID。 此参数允许审核 PRO 提示。

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

-RunAsynchronously

指示作业异步运行,以便控件立即返回到命令 shell。

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

-SecondaryWorldWideNodeName

指定虚拟机虚拟光纤通道适配器的辅助世界范围的节点名称。

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

-SecondaryWorldWidePortName

指定虚拟机虚拟光纤通道适配器的辅助世界范围的端口名称。

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

-StaticWorldWideName

指示 cmdlet 使用管理员提供的静态世界范围名称。

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

-StorageFabricClassification

指定存储光纤通道构造的分类。

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

-VirtualFibreChannelSAN

指定主机光纤通道虚拟 SAN 对象。

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

-VM

指定一个虚拟机对象。

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

-VMMServer

指定 Virtual Machine Manager (VMM) 服务器对象。

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

-VMTemplate

指定一个用于创建虚拟机的 VMM 模板对象。

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

输出

VirtualFibreChannelAdapter

此 cmdlet 返回 VirtualFibreChannelAdapter 对象。