NAME
Set-DcsPhysicalDiskProperties
SYNOPSIS
Sets or changes the name of physical disk.
SYNTAX
Set-DcsPhysicalDiskProperties -Disk <Object> [ -NewName <String> ] [ -Connection <String> ] [ -PipelineVariable <String> ]
Set-DcsPhysicalDiskProperties -SharedDisk <Object> [ -NewName <String> ] [ -Connection <String> ] [ -PipelineVariable <String> ]
DESCRIPTION
Sets or changes the name of physical disk.
PARAMETERS
- -Disk<Object>
- PhysicalDiskData object, name, or ID that uniquely identifies a physical disk. To resolve by name, the name must be unique to the server group.
-
- Required: true
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -NewName<String>
- Alias to assign to the physical disk. The alias must be unique in the server group. to remove the current name and restore the default name, which is the concatenation of the vendor and product name, use an empty string as the value; for example "".
-
- 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
-
- -SharedDisk<Object>
- SharedPhysicalDiskData object, name, or ID that uniquely identifies a shared physical disk. 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: false
- Accept wildcard characters: false
-
INPUTS
OUTPUTS
PhysicalDiskData : Object that identifies and describes a physical disk.
NOTES
Also see Get-DcsPhysicalDisk.
EXAMPLES
$WDCDisk = Get-DcsPhysicalDisk | where {$_.caption -match "WDC*"} Set-DcsPhysicalDiskProperties -Disk $WDCDisk -NewName SSV1-WDC50-1
The cmdlet Get-DcsPhysicalDisk is invoked to get all physical disk objects for disks that contain "WDC" in the caption. The results are stored in the variable $WDCDisk. In this case, there is one object in the variable. The cmdlet Set-DcsPhysicalDiskProperties is invoked using the variable $WDCDisk for the value of the parameter Disk and the parameter NewName is given the value "SSV1-WDC50-1". The alias of the disk is set to "SSV1-WDC50-1".
PoolMemberId | : | 9661d57d-30a5-4994-925e-ba92e0f067ad |
HostId | : | 8BD7BD0F-F5F9-40DB-B8B0-6ABB74D43F81 |
SharedPhysicalDiskId | : | |
PresenceStatus | : | Present |
Alias | : | SSV1-WDC50-1 |
Size | : | 50.00 GiB |
SectorSize | : | 512 B |
FreeSpace | : | 49.87 GiB |
InquiryData | : | DataCore SANmelody DCS VVol21 |
ScsiPath | : | Port 4, Bus 0, Target 4, LUN 0 |
DiskIndex | : | 1 |
SystemName | : | \\?\PhysicalDrive1 |
BusType | : | iScsi |
Type | : | Pool |
DiskStatus | : | Online |
Partitioned | : | True |
InUse | : | True |
IsBootDisk | : | False |
Protected | : | False |
IsSolidState | : | False |
UniqueIdentifier | : | naa.60030d9056566f6c3231000000000000 |
Sequencenumber | : | 11970 |
Id | : | {eaf8d9c0-302b-4c4a-9d37-23b0b407f668} |
Caption | : | SSV1-WDC50-1 |
ExtendedCaption | : | SSV1-WDC50-1 on SSV1 |
Internal | : | False |