NAME

Remove-DcsPoolMember

SYNOPSIS

Removes a physical disk from a disk pool.

SYNTAX

Remove-DcsPoolMember   [ -Server <String> ]   -Disk <Object>   [ -Count <Int32> ]   [ -Connection <String> ]   [ -PipelineVariable <String> ]

DESCRIPTION

Removes a physical disk from a disk pool. Disks that were added as pool mirrors can also be removed. Physical disks cannot be removed if used in a virtual disk, unless the physical disk is mirrored in the pool.

PARAMETERS

-Server<String>
Computer name or ID of the server. The computer name must be unique or the name must be fully qualified.

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

-Disk<Object>
PhysicalDiskData object, name, or ID that identifies the physical disk to remove. To resolve by name, the name must be unique to the server group or the server must be specified.

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

-Count<Int32>
The Count parameter can limit the number of disks to remove from the pool using the Disk parameter when the Disks parameter is obtained from the pipeline and includes multiple objects. If not specified, all disks will be removed from the pool.

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

-Connection<String>
Alias of the connection to the server group. If not specified, the default connection is 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

PhysicalDiskData : Object that identifies and describes the disk.

OUTPUTS

PhysicalDiskData : Object that identifies and describes the disk.

NOTES

Also see Add-DcsPoolMember, Get-DcsPhysicalDisk.

EXAMPLES


-------------- Example 1 Removes a pool Member specified by name --------------
Remove-DcsPoolMember -Disk "SSV1-WDC50-D1"
		

Removes the disk named "SSV1-WDC50-D1". In this case the physical disk name is unique in the server group and can be resolved without additional parameters.

PoolMemberId:
HostId:8BD7BD0F-F5F9-40DB-B8B0-6ABB74D43F81
SharedPhysicalDiskId:
PresenceStatus:Present
Alias:SSV1-WDC50-D1
Size:50.00 GiB
SectorSize:512 B
FreeSpace:0.00 B
InquiryData:DataCore SANmelody DCS VVol21
ScsiPath:Port 4, Bus 0, Target 4, LUN 0
DiskIndex:1
SystemName:\\?\PhysicalDrive1
BusType:iScsi
Type:Uninitialized
DiskStatus:NotReady
Partitioned:False
InUse:False
IsBootDisk:False
Protected:False
IsSolidState:False
UniqueIdentifier:naa.60030d9056566f6c3231000000000000
Sequencenumber:8969
Id:{eaf8d9c0-302b-4c4a-9d37-23b0b407f668}
Caption:SSV1-WDC50-D1
ExtendedCaption:SSV1-WDC50-D1 on SSV1
Internal:False