NAME
Get-DcsPoolMember
SYNOPSIS
Returns data for physical disks in a disk pool.
SYNTAX
Get-DcsPoolMember [ -Server <String> ] [ -Pool <String> ] [ -Disk <String> ] [ -PoolMember <Object> ] [ -Connection <String> ] [ -PipelineVariable <String> ]
DESCRIPTION
Returns data for physical disks in a disk pool. If a physical disk is mirrored in the pool, one object will be returned that describes both disks in the mirror. Filtering parameters may be specified to narrow the scope of the data returned. If no parameters are specified, data for all physical disks in pools belonging to all servers in the default connection will be returned.
PARAMETERS
- -Server<String>
- Computer name or ID of the server. The computer name must be unique or the name must be fully qualified. If a server is specified, only data for that server will be returned.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -Pool<String>
- Name or ID that identifies a disk pool. To resolve by name, the name must be unique to the server group or the server must be specified. If a pool is specified, only data for that pool will be returned.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -Disk<String>
- Name or ID that identifies a physical disk. To resolve by name, the name must be unique to the server group or the server must be specified. If the physical disk is specified, only data for that physical disk will be returned.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -PoolMember<Object>
- PoolMemberData object, ID or caption that identifies the pool Member of a disk pool. If the pool Member is specified, only data for that pool Member will be returned.
-
- Required: false
- 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 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 Add-DcsPoolMember, Get-DcsPool, Get-DcsPhysicalDisk.
EXAMPLES
Get-DcsPoolMember -Pool "Disk pool 1"
Returns data for all pool Members in the pool named "Disk pool 1". In this case, there is one pool disk and one pool mirror in the pool.
DiskPoolId | : | 8BD7BD0F-F5F9-40DB-B8B0-6ABB74D43F81:{2b28c5b6-a04d-11e1-96c0-00155d11e929} |
DiskInRecoveryId | : | {0b89a4a7-242e-4f8b-926f-ecc9397d5cdf} |
DiskTier | : | 2 |
MemberState | : | InRecovery |
Size | : | 100.00 GiB |
SectorSize | : | 512 B |
IsMirrored | : | True |
Sequencenumber | : | 7752 |
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 | : | 2 |
MemberState | : | Healthy |
Size | : | 50.00 GiB |
SectorSize | : | 512 B |
IsMirrored | : | False |
Sequencenumber | : | 7640 |
Id | : | 9661d57d-30a5-4994-925e-ba92e0f067ad |
Caption | : | SSV1-WDC50-D1 |
ExtendedCaption | : | Pool disk SSV1-WDC50-D1 on SSV1 |
Internal | : | False |
Get-DcsPoolMember -Disk "SSV1-WDC50-D1"
Returns data for the pool Member named "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 |
SectorSize | : | 512 B |
IsMirrored | : | False |
Sequencenumber | : | 7640 |
Id | : | 9661d57d-30a5-4994-925e-ba92e0f067ad |
Caption | : | SSV1-WDC50-D1 |
ExtendedCaption | : | Pool disk SSV1-WDC50-D1 on SSV1 |
Internal | : | False |
Get-DcsPoolMember -Pool "Disk pool 1" | Get-DcsPerformanceCounter
The cmdlet Get-DcsPoolMember is invoked to obtain the PoolMemberData object for the pool "Disk pool 1" and the results are piped to the cmdlet Get-DcsPerformanceCounter to retrieve the counters for the physical disk in the pool. In this case, there is one physical disk in the pool so one object is returned.
BytesAllocated | : | 268435456 |
BytesAvailable | : | 20803747840 |
BytesInReclamation | : | 0 |
BytesRecovered | : | 0 |
BytesRemainingToRecover | : | 0 |
BytesTotalToRecover | : | 0 |
BytesMigrated | : | 0 |
CollectionTime | : | 9/8/2015 8:18:16 PM |
NullCounterMap | : | 0 |