NAME

Set-DcsPoolMemberProperties

SYNOPSIS

Assigns or changes the tier number of a physical disk in a pool.

SYNTAX

Set-DcsPoolMemberProperties   -PoolMember <Object>   [ -Pool <String> ]   [ -Server <String> ]   [ -DiskTier <Int32> ]   [ -Connection <String> ]   [ -PipelineVariable <String> ]

DESCRIPTION

Assigns or changes the tier number of a physical disk in a pool.

PARAMETERS

-PoolMember<Object>
PoolMemberData object, ID, or caption that identifies the physical disk that is a Member of a disk pool.

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

-Pool<String>
Name or ID that identifies the disk pool. To resolve by name, the name must be unique to the server group or the server must be specified.

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

-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

-DiskTier<Int32>
The tier number in the pool that the physical disk should be assigned to. The tier number should not exceed the total number of tiers in the pool (see MaxTiernumber in Set-DcsPoolProperties).

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

PoolMemberData : Object the identifies and describes the pool Member.

OUTPUTS

PoolMemberData : Object the identifies and describes the pool Member.

NOTES

Also see Get-DcsPoolMember

EXAMPLES


-------------- Example 1 Sets the property by identifying the pool Member by caption --------------
Set-DcsPoolMemberProperties -PoolMember ""SSV1-WDC50-D1" -DiskTier 2
		

Sets the disk tier to 2 for the pool Member with a caption of "SSV1-WDC50-D1". In this case, the name is unique in the server group and can be resolved without additional parameters.

DiskPoolId:8BD7BD0F-F5F9-40DB-B8B0-6ABB74D43F81:{2b28c5b6-a04d-11e1-96c0-00155d11e929}
DiskInRecoveryId:
DiskTier:2
MemberState:Healthy
Size:50.00 GiB
IsMirrored:False
Sequencenumber:9675
Id:865a3e60-4120-4ca8-9de5-d19dab509a7b
Caption:SSV1-WDC50-D1
ExtendedCaption:Pool disk SSV1-WDC50-D1 on SSV1
Internal:False
   

-------------- Example 2 Sets the properties of all Members of a specified pool by piping objects --------------
Get-DcsPoolMember -Pool "Disk pool 1" | Set-DcsPoolMemberProperties -DiskTier 1
		

The cmdlet Get-DcsPoolMember is invoked to obtain the PoolMemberData objects for all pool Members in the pool named "Disk pool 1". The objects are piped to Set-DcsPoolMemberProperties to set the disk tier to 1 for all pool Members.

DiskPoolId:8BD7BD0F-F5F9-40DB-B8B0-6ABB74D43F81:{2b28c5b6-a04d-11e1-96c0-00155d11e929}
DiskInRecoveryId:{0b89a4a7-242e-4f8b-926f-ecc9397d5cdf}
DiskTier:1
MemberState:InRecovery
Size:100.00 GiB
IsMirrored:True
Sequencenumber:9433
Id:ed78b36a-613a-4c28-b4d8-f00d0fc5fbec
Caption:SSV1-WDC100-D1|SSV1-WDC100-D2
ExtendedCaption:Pool mirror SSV1-WDC100-D1|SSV1-WDC100-D2 on SSV1
Internal:False
   
DiskPoolId:8BD7BD0F-F5F9-40DB-B8B0-6ABB74D43F81:{2b28c5b6-a04d-11e1-96c0-00155d11e929}
DiskInRecoveryId:
DiskTier:1
MemberState:Healthy
Size:50.00 GiB
IsMirrored:False
Sequencenumber:9440
Id:865a3e60-4120-4ca8-9de5-d19dab509a7b
Caption:SSV1-WDC50-D1
ExtendedCaption:Pool disk SSV1-WDC50-D1 on SSV1
Internal:False