NAME

Remove-DcsVirtualLogicalUnit

SYNOPSIS

Removes a front-end or mirror path for the specified logical disk on a server.

SYNTAX

Remove-DcsVirtualLogicalUnit   -VirtualLogicalUnit <Object>   [ -Connection <String> ]   [ -PipelineVariable <String> ]

DESCRIPTION

Removes a front-end or mirror path for the specified logical disk on a server. A virtual logical unit is the path of a logical disk on a server.

PARAMETERS

-VirtualLogicalUnit<Object>
VirtualLogicalUnitData object or ID that identifies the path of the logical disk of a virtual disk on a server.

Required: true
Position: named
Default value:
Accept pipeline input: true (ByValue)
Accept wildcard characters: false

-Connection<String>
Alias of the connection to the server group. If not specified, the default connection will be used.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-PipelineVariable<String>

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

INPUTS

VirtualLogicalUnitData : Object that identifies the virtual logical unit.

OUTPUTS

NOTES

Also see Get-DcsLogicalDisk, Get-DcsVirtualLogicalUnit, Add-DcsVirtualLogicalUnit, Add-DcsVirtualLogicalUnit.

EXAMPLES


-------------- Example 1 Removes a path for a specified virtual disk using specified initiator and target hosts --------------
Get-DcsVirtualLogicalUnit -InitiatorHost Host3 -TargetHost SSV1 -VirtualDisk "Virtual disk 3" | Remove-DcsVirtualLogicalUnit
		

The cmdlet Get-DcsVirtualLogicalUnit is invoked to return the VirtualLogicalDiskData object for the path used by the virtual disk named "Virtual disk 3" from the initiator host named "Host3" to the target host named "SSV1". The object is piped to Remove-DcsVirtualLogicalUnit resulting in the removal of that path.