description | external help file | Module Name | ms.date | online version | schema | title |
---|---|---|---|---|---|---|
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell. |
Microsoft.HyperV.PowerShell.Cmdlets.dll-Help.xml |
Hyper-V |
12/20/2016 |
2.0.0 |
Set-VMFibreChannelHba |
Configures a Fibre Channel host bus adapter on a virtual machine.
Set-VMFibreChannelHba [-CimSession <CimSession[]>] [-ComputerName <String[]>] [-Credential <PSCredential[]>]
[-VMName] <String> [-WorldWideNodeNameSetA] <String> [-WorldWidePortNameSetA] <String>
[-WorldWideNodeNameSetB] <String> [-WorldWidePortNameSetB] <String> -SanName <String> [-Passthru] [-WhatIf]
[-Confirm] [<CommonParameters>]
Set-VMFibreChannelHba [-CimSession <CimSession[]>] [-ComputerName <String[]>] [-Credential <PSCredential[]>]
[-VMName] <String> [-WorldWideNodeNameSetA] <String> [-WorldWidePortNameSetA] <String>
[-WorldWideNodeNameSetB] <String> [-WorldWidePortNameSetB] <String> [-GenerateWwn] [-Passthru] [-WhatIf]
[-Confirm] [<CommonParameters>]
Set-VMFibreChannelHba [-CimSession <CimSession[]>] [-ComputerName <String[]>] [-Credential <PSCredential[]>]
[-VMName] <String> [-WorldWideNodeNameSetA] <String> [-WorldWidePortNameSetA] <String>
[-WorldWideNodeNameSetB] <String> [-WorldWidePortNameSetB] <String> [-NewWorldWideNodeNameSetA <String>]
[-NewWorldWidePortNameSetA <String>] [-NewWorldWideNodeNameSetB <String>] [-NewWorldWidePortNameSetB <String>]
[-Passthru] [-WhatIf] [-Confirm] [<CommonParameters>]
Set-VMFibreChannelHba [-VMFibreChannelHba] <VMFibreChannelHba> [-GenerateWwn] [-Passthru] [-WhatIf] [-Confirm]
[<CommonParameters>]
Set-VMFibreChannelHba [-VMFibreChannelHba] <VMFibreChannelHba> [-NewWorldWideNodeNameSetA <String>]
[-NewWorldWidePortNameSetA <String>] [-NewWorldWideNodeNameSetB <String>] [-NewWorldWidePortNameSetB <String>]
[-Passthru] [-WhatIf] [-Confirm] [<CommonParameters>]
Set-VMFibreChannelHba [-VMFibreChannelHba] <VMFibreChannelHba> -SanName <String> [-Passthru] [-WhatIf]
[-Confirm] [<CommonParameters>]
The Set-VMFibreChannelHba cmdlet configures a Fibre Channel host bus adapter on a virtual machine.
PS C:\> Get-VMFibreChannelHba -VMName MyVM | Set-VMFibreChannelHba -GenerateWwn
Configures a Fibre Channel host bus adapter on a virtual machine named MyVM, with World Wide Names to be generated automatically.
Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local computer.
Type: CimSession[]
Parameter Sets: VMName And Only SAN, VMName And Generate WWN, VMName And Manual WWN
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
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.
Type: String[]
Parameter Sets: VMName And Only SAN, VMName And Generate WWN, VMName And Manual WWN
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Specifies one or more user accounts that have permission to perform this action. The default is the current user.
Type: PSCredential[]
Parameter Sets: VMName And Only SAN, VMName And Generate WWN, VMName And Manual WWN
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
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.
Type: SwitchParameter
Parameter Sets: VMName And Generate WWN, Object And Generate WWN
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the World Wide Node name of address set A to be associated with the Fibre Channel host bus adapter.
Type: String
Parameter Sets: VMName And Manual WWN, Object And Manual WWN
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the World Wide Node name of address set B to be associated with the Fibre Channel host bus adapter.
Type: String
Parameter Sets: VMName And Manual WWN, Object And Manual WWN
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the World Wide Port name of address set A to be associated with the Fibre Channel host bus adapter.
Type: String
Parameter Sets: VMName And Manual WWN, Object And Manual WWN
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the World Wide Port name of address set B to be associated with the Fibre Channel host bus adapter.
Type: String
Parameter Sets: VMName And Manual WWN, Object And Manual WWN
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies that an object is to be passed through to the pipeline representing the configured Fibre Channel host bus adapter.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the name of the virtual storage area network (SAN) to be associated with the Fibre Channel host bus adapter.
Type: String
Parameter Sets: VMName And Only SAN, Object And Only SAN
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the Fibre Channel host bus adapter to be configured.
Type: VMFibreChannelHba
Parameter Sets: Object And Generate WWN, Object And Manual WWN, Object And Only SAN
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies the name of the virtual machine to which the virtual Fibre Channel host bus adapter parameters are to be set.
Type: String
Parameter Sets: VMName And Only SAN, VMName And Generate WWN, VMName And Manual WWN
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Specifies the World Wide Node name of address set A that is associated with the Fibre Channel host bus adapter.
Type: String
Parameter Sets: VMName And Only SAN, VMName And Generate WWN, VMName And Manual WWN
Aliases: Wwnn1
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the World Wide Node name of address set B that is associated with the Fibre Channel host bus adapter.
Type: String
Parameter Sets: VMName And Only SAN, VMName And Generate WWN, VMName And Manual WWN
Aliases: Wwnn2
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the World Wide Port name of address set A that is associated with the Fibre Channel host bus adapter.
Type: String
Parameter Sets: VMName And Only SAN, VMName And Generate WWN, VMName And Manual WWN
Aliases: Wwpn1
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the World Wide Port name of address set B that is associated with the Fibre Channel host bus adapter.
Type: String
Parameter Sets: VMName And Only SAN, VMName And Generate WWN, VMName And Manual WWN
Aliases: Wwpn2
Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.