external help file | Module Name | online version | schema |
---|---|---|---|
Hyper-V_Cmdlets.xml |
Hyper-V |
2.0.0 |
Removes a Fibre Channel host bus adapter from a virtual machine.
Remove-VMFibreChannelHba [-VMFibreChannelHba] <VMFibreChannelHba[]> [-ComputerName <String[]>] [-Passthru]
[-Confirm] [-WhatIf]
Remove-VMFibreChannelHba [-VMName] <String> [-WorldWideNodeNameSetA] <String> [-WorldWidePortNameSetA] <String>
[-WorldWideNodeNameSetB] <String> [-WorldWidePortNameSetB] <String> [-ComputerName <String[]>] [-Passthru]
[-Confirm] [-WhatIf]
The Remove-VMFibreChannelHba removes a Fibre Channel host bus adapter from a virtual machine.
PS C:\>Get-VMFibreChannelHba -VMName MyVM | Remove-VMFibreChannelHba
Removes a Fibre Channel host bus adapter from a virtual machine MyVM.
Specifies one or more Hyper-V hosts on which the Fibre Channel host bus adapter is to be removed. 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: (All)
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 be pipeline representing the removed 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 one or more Fibre Channel host bus adapters to be removed from a virtual machine.
Type: VMFibreChannelHba[]
Parameter Sets: UNNAMED_PARAMETER_SET_1
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies the virtual machine from which the Fibre Channel host bus adapters are to be removed.
Type: String
Parameter Sets: UNNAMED_PARAMETER_SET_2
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the World Wide Node name of address set A associated with the Fibre Channel host bus adapter to be removed.
Type: String
Parameter Sets: UNNAMED_PARAMETER_SET_2
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the World Wide Node name of address set B associated with the Fibre Channel host bus adapter to be removed.
Type: String
Parameter Sets: UNNAMED_PARAMETER_SET_2
Aliases:
Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the World Wide Port name of address set A associated with the Fibre Channel host bus adapter to be removed.
Type: String
Parameter Sets: UNNAMED_PARAMETER_SET_2
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the World Wide Port name of address set B associated with the Fibre Channel host bus adapter to be removed.
Type: String
Parameter Sets: UNNAMED_PARAMETER_SET_2
Aliases:
Required: True
Position: 5
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:
Required: False
Position: Named
Default value: False
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:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Default
If -PassThru is specified.