Can't set-physical disk FriendlyName is RAID controller for all disks

E

emanname

Hi,

My apologies if this is the wrong forum for this question, this is my first time asking a question here.

I am using Windows Server 2016 Data Center version. My problem is when I add Physical Disks to the storage pool and run the Get-PhysicalDisk command several disks show the same FriendlyName (the RAID controller DELL PERC H800) instead of PhysicalDisk3, PhysicalDisk4, etc. so I am having a difficult time setting their mediatype because of this. All of the examples I have found online show how to set the mediatype to SSD or HDD using only the FriendlyName, but I have not found any examples showing how to change the FriendlyName and/or MediaType using the UniqueID or SerialNumber.

I was able to figure it out once and somehow set all of the SSD's FriendlyName (SSD1, SSD2, etc.) and I was able to set some of the HDD's FriendlyNames to HDD1 and HDD2, but I can't find where I wrote down the commands and syntax. I used the UniqueID and then changed the FriendlyNames and then after changing the FriendlyNames I was able to set the mediatypes correctly and set up the tiered storage. I will keep having this problem every time I add new PhysicalDisks to the same storage pool and need to change the mediatype from unknown to SSD or HDD.


So, my questions are:

1- Why do my physical disks all get the same friendlyname which in this case is the RAID controller and how can I fix/change that going forward so it will show the PhysicalDisk(number) or a unique FriendlyName for each disk?

2- Does anyone know how and what the correct syntax is for me to change the friendlyname using the UniqueID, SerialNumber or some variable other than the FriendlyName since the firendlynames are all the same, so that I can then set the mediatype to HDD instead of unknown?



PS C:\Users\Administrator> Get-PhysicalDisk | Select-Object SerialNumber,UniqueID

SerialNumber UniqueID
------------ --------
005185c913cc55622300f4191fb0bc82 6782BCB01F19F400236255CC13C98551
0062f3430aa80000ff00082119b0bc82 6782BCB019210800FF0000A80A43F362
0053f5ce2699b15f2300f4191fb0bc82 6782BCB01F19F400235FB19926CEF553
0059f4633f35b35f2300f4191fb0bc82 6782BCB01F19F400235FB3353F63F459
00731fbf2255b15f2300f4191fb0bc82 6782BCB01F19F400235FB15522BF1F73
00936aab2835082f2300082119b0bc82 6782BCB019210800232F083528AB6A93
00a686b92476b15f2300f4191fb0bc82 6782BCB01F19F400235FB17624B986A6
00cd682712b055622300f4191fb0bc82 6782BCB01F19F400236255B0122768CD
00fb437911f8b9632300f4191fb0bc82 6782BCB01F19F4002363B9F8117943FB
00406b3a0fd2b9632300f4191fb0bc82 6782BCB01F19F4002363B9D20F3A6B40


PS C:\Users\Administrator> Get-PhysicalDisk

FriendlyName SerialNumber CanPool OperationalStatus HealthStatus Usage Size
------------ ------------ ------- ----------------- ------------ ----- ----
HDD1 005185c913cc55622300f4191fb0bc82 False OK Healthy Auto-Select 5.46 TB
DELL PERC H700 0062f3430aa80000ff00082119b0bc82 False OK Healthy Auto-Select 10.92 TB
SSD1 0053f5ce2699b15f2300f4191fb0bc82 False OK Healthy Auto-Select 1.86 TB
DELL PERC H800 0059f4633f35b35f2300f4191fb0bc82 True OK Healthy Auto-Select 2.73 TB
SSD2 00731fbf2255b15f2300f4191fb0bc82 False OK Healthy Auto-Select 1.86 TB
DELL PERC H700 00936aab2835082f2300082119b0bc82 False OK Healthy Auto-Select 558.38 GB
SSD3 00a686b92476b15f2300f4191fb0bc82 False OK Healthy Auto-Select 1.86 TB
HDD2 00cd682712b055622300f4191fb0bc82 False OK Healthy Auto-Select 5.46 TB
DELL PERC H800 00fb437911f8b9632300f4191fb0bc82 False OK Healthy Auto-Select 5.46 TB
DELL PERC H800 00406b3a0fd2b9632300f4191fb0bc82 True OK Healthy Auto-Select 5.46 TB


PS C:\Users\Administrator> Get-PhysicalDisk | Select-Object SerialNumber,UniqueID

SerialNumber UniqueID
------------ --------
005185c913cc55622300f4191fb0bc82 6782BCB01F19F400236255CC13C98551
0062f3430aa80000ff00082119b0bc82 6782BCB019210800FF0000A80A43F362
0053f5ce2699b15f2300f4191fb0bc82 6782BCB01F19F400235FB19926CEF553
0059f4633f35b35f2300f4191fb0bc82 6782BCB01F19F400235FB3353F63F459
00731fbf2255b15f2300f4191fb0bc82 6782BCB01F19F400235FB15522BF1F73
00936aab2835082f2300082119b0bc82 6782BCB019210800232F083528AB6A93
00a686b92476b15f2300f4191fb0bc82 6782BCB01F19F400235FB17624B986A6
00cd682712b055622300f4191fb0bc82 6782BCB01F19F400236255B0122768CD
00fb437911f8b9632300f4191fb0bc82 6782BCB01F19F4002363B9F8117943FB
00406b3a0fd2b9632300f4191fb0bc82 6782BCB01F19F4002363B9D20F3A6B40


PS C:\Users\Administrator> Set-PhysicalDisk -UniqueID 6782BCB01F19F4002363B9D20F3A6B40 -NewFriendlyName HDD3
Set-PhysicalDisk : This operation is not supported on primordial storage pools.
Activity ID: {f9392dec-6167-4525-85d1-7402452ed3bb}
At line:1 char:1
+ Set-PhysicalDisk -UniqueID 6782BCB01F19F4002363B9D20F3A6B40 -NewFrien ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (StorageWMI:ROOT/Microsoft/..._StorageCmdlets) [Set-PhysicalDisk], Cim
Exception
+ FullyQualifiedErrorId : StorageWMI 48000,Set-PhysicalDisk

PS C:\Users\Administrator> Set-PhysicalDisk

cmdlet Set-PhysicalDisk at command pipeline position 1
Supply values for the following parameters:
UniqueId: 6782BCB01F19F4002363B9D20F3A6B40
PS C:\Users\Administrator> Set-PhysicalDisk -UniqueID 6782BCB01F19F4002363B9D20F3A6B40 -FriendlyName DELL PERC H800 -New
FriendlyName HDD3
Set-PhysicalDisk : Parameter set cannot be resolved using the specified named parameters.
At line:1 char:1
+ Set-PhysicalDisk -UniqueID 6782BCB01F19F4002363B9D20F3A6B40 -Friendly ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: :)) [Set-PhysicalDisk], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousParameterSet,Set-PhysicalDisk

PS C:\Users\Administrator> Set-PhysicalDisk -UniqueID 6782BCB01F19F4002363B9D20F3A6B40 -NewFriendlyName HDD3
Set-PhysicalDisk : This operation is not supported on primordial storage pools.
Activity ID: {343191fa-d6f8-43f4-9d0a-423cc268f275}
At line:1 char:1
+ Set-PhysicalDisk -UniqueID 6782BCB01F19F4002363B9D20F3A6B40 -NewFrien ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (StorageWMI:ROOT/Microsoft/..._StorageCmdlets) [Set-PhysicalDisk], Cim
Exception
+ FullyQualifiedErrorId : StorageWMI 48000,Set-PhysicalDisk

PS C:\Users\Administrator> Set-PhysicalDisk -UniqueID 6782BCB01F19F4002363B9D20F3A6B40 -FriendlyName HDD3
Set-PhysicalDisk : Parameter set cannot be resolved using the specified named parameters.
At line:1 char:1
+ Set-PhysicalDisk -UniqueID 6782BCB01F19F4002363B9D20F3A6B40 -Friendly ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: :)) [Set-PhysicalDisk], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousParameterSet,Set-PhysicalDisk

PS C:\Users\Administrator> Set-PhysiclDisk -SerialNumber 00406b3a0fd2b9632300f4191fb0bc82 -NewFriendlyName HDD3
Set-PhysiclDisk : The term 'Set-PhysiclDisk' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ Set-PhysiclDisk -SerialNumber 00406b3a0fd2b9632300f4191fb0bc82 -NewFr ...
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Set-PhysiclDisk:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\Administrator> Set-PhysicalDisk -SerialNumber 00406b3a0fd2b9632300f4191fb0bc82 -NewFriendlyName HDD3
Set-PhysicalDisk : A parameter cannot be found that matches parameter name 'SerialNumber'.
At line:1 char:18
+ Set-PhysicalDisk -SerialNumber 00406b3a0fd2b9632300f4191fb0bc82 -NewF ...
+ ~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: :)) [Set-PhysicalDisk], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Set-PhysicalDisk

PS C:\Users\Administrator> Set-PhysicalDisk help
Set-PhysicalDisk : The requested object could not be found.
At line:1 char:1
+ Set-PhysicalDisk help
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (PS_StorageCmdlets:ROOT/Microsoft/..._StorageCmdlets) [Set-PhysicalDisk]
, CimException
+ FullyQualifiedErrorId : MI RESULT 6,Set-PhysicalDisk

PS C:\Users\Administrator> set ?
PS C:\Users\Administrator> set help
PS C:\Users\Administrator> set-physicaldisk

cmdlet Set-PhysicalDisk at command pipeline position 1
Supply values for the following parameters:
UniqueId: 00406b3a0fd2b9632300f4191fb0bc82
set-physicaldisk : The requested object could not be found.
At line:1 char:1
+ set-physicaldisk
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (PS_StorageCmdlets:ROOT/Microsoft/..._StorageCmdlets) [Set-PhysicalDisk]
, CimException
+ FullyQualifiedErrorId : MI RESULT 6,Set-PhysicalDisk

PS C:\Users\Administrator> Set-PhysicalDisk -UniqueID 00406b3a0fd2b9632300f4191fb0bc82 | select-object -NewFriendlyName
HDD3
Select-Object : A parameter cannot be found that matches parameter name 'NewFriendlyName'.
At line:1 char:77
+ ... 0406b3a0fd2b9632300f4191fb0bc82 | select-object -NewFriendlyName HDD3
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: :)) [Select-Object], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.SelectObjectCommand

PS C:\Users\Administrator> Set-PhysicalDisk -UniqueID 00406b3a0fd2b9632300f4191fb0bc82 | select-object -FriendlyName HDD
3
Select-Object : A parameter cannot be found that matches parameter name 'FriendlyName'.
At line:1 char:77
+ ... D 00406b3a0fd2b9632300f4191fb0bc82 | select-object -FriendlyName HDD3
+ ~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: :)) [Select-Object], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.SelectObjectCommand

PS C:\Users\Administrator> Set-PhysicalDisk -NewFriendlyName HDD3 -UniqueID 00406b3a0fd2b9632300f4191fb0bc82
Set-PhysicalDisk : The requested object could not be found.
At line:1 char:1
+ Set-PhysicalDisk -NewFriendlyName HDD3 -UniqueID 00406b3a0fd2b9632300 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (PS_StorageCmdlets:ROOT/Microsoft/..._StorageCmdlets) [Set-PhysicalDisk]
, CimException
+ FullyQualifiedErrorId : MI RESULT 6,Set-PhysicalDisk

PS C:\Users\Administrator> Set-PhnysicalDisk -UniqueID 00406b3a0fd2b9632300f4191fb0bc82 -FriendlyName HDD3
Set-PhnysicalDisk : The term 'Set-PhnysicalDisk' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ Set-PhnysicalDisk -UniqueID 00406b3a0fd2b9632300f4191fb0bc82 -Friendl ...
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Set-PhnysicalDisk:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\Administrator> Set-PhysicalDisk -UniqueID 00406b3a0fd2b9632300f4191fb0bc82
Set-PhysicalDisk : The requested object could not be found.
At line:1 char:1
+ Set-PhysicalDisk -UniqueID 00406b3a0fd2b9632300f4191fb0bc82
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (PS_StorageCmdlets:ROOT/Microsoft/..._StorageCmdlets) [Set-PhysicalDisk]
, CimException
+ FullyQualifiedErrorId : MI RESULT 6,Set-PhysicalDisk

PS C:\Users\Administrator> Set-PhysicakDisk -UniqueID 00406b3a0fd2b9632300f4191fb0bc82 -MediaType HDD
Set-PhysicakDisk : The term 'Set-PhysicakDisk' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ Set-PhysicakDisk -UniqueID 00406b3a0fd2b9632300f4191fb0bc82 -MediaTyp ...
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Set-PhysicakDisk:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\Administrator> Get-PhysicalDisk | Select-Object SerialNumber,UniqueID,MediaType

SerialNumber UniqueID MediaType
------------ -------- ---------
005185c913cc55622300f4191fb0bc82 6782BCB01F19F400236255CC13C98551 HDD
0062f3430aa80000ff00082119b0bc82 6782BCB019210800FF0000A80A43F362 Unspecified
0053f5ce2699b15f2300f4191fb0bc82 6782BCB01F19F400235FB19926CEF553 SSD
0059f4633f35b35f2300f4191fb0bc82 6782BCB01F19F400235FB3353F63F459 Unspecified
00731fbf2255b15f2300f4191fb0bc82 6782BCB01F19F400235FB15522BF1F73 SSD
00936aab2835082f2300082119b0bc82 6782BCB019210800232F083528AB6A93 Unspecified
00a686b92476b15f2300f4191fb0bc82 6782BCB01F19F400235FB17624B986A6 SSD
00cd682712b055622300f4191fb0bc82 6782BCB01F19F400236255B0122768CD HDD
00fb437911f8b9632300f4191fb0bc82 6782BCB01F19F4002363B9F8117943FB Unspecified
00406b3a0fd2b9632300f4191fb0bc82 6782BCB01F19F4002363B9D20F3A6B40 Unspecified


PS C:\Users\Administrator> Get-PhysicalDisk | Select-Object SerialNumber,UniqueID,MediaType,Size

SerialNumber UniqueID MediaType Size
------------ -------- --------- ----
005185c913cc55622300f4191fb0bc82 6782BCB01F19F400236255CC13C98551 HDD 6000606183424
0062f3430aa80000ff00082119b0bc82 6782BCB019210800FF0000A80A43F362 Unspecified 12001212366848
0053f5ce2699b15f2300f4191fb0bc82 6782BCB01F19F400235FB19926CEF553 SSD 2047625658368
0059f4633f35b35f2300f4191fb0bc82 6782BCB01F19F400235FB3353F63F459 Unspecified 2998960914432
00731fbf2255b15f2300f4191fb0bc82 6782BCB01F19F400235FB15522BF1F73 SSD 2047625658368
00936aab2835082f2300082119b0bc82 6782BCB019210800232F083528AB6A93 Unspecified 599550590976
00a686b92476b15f2300f4191fb0bc82 6782BCB01F19F400235FB17624B986A6 SSD 2047625658368
00cd682712b055622300f4191fb0bc82 6782BCB01F19F400236255B0122768CD HDD 6000606183424
00fb437911f8b9632300f4191fb0bc82 6782BCB01F19F4002363B9F8117943FB Unspecified 6000606183424
00406b3a0fd2b9632300f4191fb0bc82 6782BCB01F19F4002363B9D20F3A6B40 Unspecified 6000606183424


PS C:\Users\Administrator> Set-PhysicalDisk -FriendlyName 00406b3a0fd2b9632300f4191fb0bc82 -NewFriendlyName HDD3
Set-PhysicalDisk : The requested object could not be found.
At line:1 char:1
+ Set-PhysicalDisk -FriendlyName 00406b3a0fd2b9632300f4191fb0bc82 -NewF ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (PS_StorageCmdlets:ROOT/Microsoft/..._StorageCmdlets) [Set-PhysicalDisk]
, CimException
+ FullyQualifiedErrorId : MI RESULT 6,Set-PhysicalDisk

PS C:\Users\Administrator> Get-PhysicalDisk -UniqueID 00406b3a0fd2b9632300f4191fb0bc82 | Set-PhysicalDisk -MediaType HDD

PS C:\Users\Administrator> Get-PhysicalDisk

FriendlyName SerialNumber CanPool OperationalStatus HealthStatus Usage Size
------------ ------------ ------- ----------------- ------------ ----- ----
HDD1 005185c913cc55622300f4191fb0bc82 False OK Healthy Auto-Select 5.46 TB
DELL PERC H700 0062f3430aa80000ff00082119b0bc82 False OK Healthy Auto-Select 10.92 TB
SSD1 0053f5ce2699b15f2300f4191fb0bc82 False OK Healthy Auto-Select 1.86 TB
DELL PERC H800 0059f4633f35b35f2300f4191fb0bc82 True OK Healthy Auto-Select 2.73 TB
SSD2 00731fbf2255b15f2300f4191fb0bc82 False OK Healthy Auto-Select 1.86 TB
DELL PERC H700 00936aab2835082f2300082119b0bc82 False OK Healthy Auto-Select 558.38 GB
SSD3 00a686b92476b15f2300f4191fb0bc82 False OK Healthy Auto-Select 1.86 TB
HDD2 00cd682712b055622300f4191fb0bc82 False OK Healthy Auto-Select 5.46 TB
DELL PERC H800 00fb437911f8b9632300f4191fb0bc82 False OK Healthy Auto-Select 5.46 TB
DELL PERC H800 00406b3a0fd2b9632300f4191fb0bc82 True OK Healthy Auto-Select 5.46 TB


PS C:\Users\Administrator> Set-PhysicalDisk -UniqueID 00406b3a0fd2b9632300f4191fb0bc82 | Select-Object -NewFriendlyName
HDD3
Select-Object : A parameter cannot be found that matches parameter name 'NewFriendlyName'.
At line:1 char:77
+ ... 0406b3a0fd2b9632300f4191fb0bc82 | Select-Object -NewFriendlyName HDD3
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: :)) [Select-Object], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.SelectObjectCommand

PS C:\Users\Administrator> Set-PhysicalDisk -UniqueID 00406b3a0fd2b9632300f4191fb0bc82 -FriendlyName HDD3
Set-PhysicalDisk : Parameter set cannot be resolved using the specified named parameters.
At line:1 char:1
+ Set-PhysicalDisk -UniqueID 00406b3a0fd2b9632300f4191fb0bc82 -Friendly ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: :)) [Set-PhysicalDisk], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousParameterSet,Set-PhysicalDisk

PS C:\Users\Administrator> Set-PhysicalDisk -UniqueID 00406b3a0fd2b9632300f4191fb0bc82
Set-PhysicalDisk : The requested object could not be found.
At line:1 char:1
+ Set-PhysicalDisk -UniqueID 00406b3a0fd2b9632300f4191fb0bc82
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (PS_StorageCmdlets:ROOT/Microsoft/..._StorageCmdlets) [Set-PhysicalDisk]
, CimException
+ FullyQualifiedErrorId : MI RESULT 6,Set-PhysicalDisk

PS C:\Users\Administrator> Set-PhysicalDisk -UniqueID "{00406b3a0fd2b9632300f4191fb0bc82}" -FriendlyName HDD3
Set-PhysicalDisk : Parameter set cannot be resolved using the specified named parameters.
At line:1 char:1
+ Set-PhysicalDisk -UniqueID "{00406b3a0fd2b9632300f4191fb0bc82}" -Frie ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: :)) [Set-PhysicalDisk], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousParameterSet,Set-PhysicalDisk

PS C:\Users\Administrator> Set-PhysicalDisk -UniqueID {00406b3a0fd2b9632300f4191fb0bc82} -FriendlyName HDD3
Set-PhysicalDisk : Cannot evaluate parameter 'UniqueId' because its argument is specified as a script block and there
is no input. A script block cannot be evaluated without input.
At line:1 char:28
+ Set-PhysicalDisk -UniqueID {00406b3a0fd2b9632300f4191fb0bc82} -Friend ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : MetadataError: :)) [Set-PhysicalDisk], ParameterBindingException
+ FullyQualifiedErrorId : ScriptBlockArgumentNoInput,Set-PhysicalDisk

PS C:\Users\Administrator> Set-PhysicalDisk -UniqueID '00406b3a0fd2b9632300f4191fb0bc82' -FriendlyName HDD3
Set-PhysicalDisk : Parameter set cannot be resolved using the specified named parameters.
At line:1 char:1
+ Set-PhysicalDisk -UniqueID '00406b3a0fd2b9632300f4191fb0bc82' -Friend ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: :)) [Set-PhysicalDisk], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousParameterSet,Set-PhysicalDisk

PS C:\Users\Administrator> Get-PhysicalDisk

FriendlyName SerialNumber CanPool OperationalStatus HealthStatus Usage Size
------------ ------------ ------- ----------------- ------------ ----- ----
HDD1 005185c913cc55622300f4191fb0bc82 False OK Healthy Auto-Select 5.46 TB
DELL PERC H700 0062f3430aa80000ff00082119b0bc82 False OK Healthy Auto-Select 10.92 TB
SSD1 0053f5ce2699b15f2300f4191fb0bc82 False OK Healthy Auto-Select 1.86 TB
DELL PERC H800 0059f4633f35b35f2300f4191fb0bc82 True OK Healthy Auto-Select 2.73 TB
SSD2 00731fbf2255b15f2300f4191fb0bc82 False OK Healthy Auto-Select 1.86 TB
DELL PERC H700 00936aab2835082f2300082119b0bc82 False OK Healthy Auto-Select 558.38 GB
SSD3 00a686b92476b15f2300f4191fb0bc82 False OK Healthy Auto-Select 1.86 TB
HDD2 00cd682712b055622300f4191fb0bc82 False OK Healthy Auto-Select 5.46 TB
DELL PERC H800 00fb437911f8b9632300f4191fb0bc82 False OK Healthy Auto-Select 5.46 TB
DELL PERC H800 00406b3a0fd2b9632300f4191fb0bc82 True OK Healthy Auto-Select 5.46 TB


PS C:\Users\Administrator> Get-PhysicalDisk | Select-Object SerialNumber,UniqueID,MediaType,Size

SerialNumber UniqueID MediaType Size
------------ -------- --------- ----
005185c913cc55622300f4191fb0bc82 6782BCB01F19F400236255CC13C98551 HDD 6000606183424
0062f3430aa80000ff00082119b0bc82 6782BCB019210800FF0000A80A43F362 Unspecified 12001212366848
0053f5ce2699b15f2300f4191fb0bc82 6782BCB01F19F400235FB19926CEF553 SSD 2047625658368
0059f4633f35b35f2300f4191fb0bc82 6782BCB01F19F400235FB3353F63F459 Unspecified 2998960914432
00731fbf2255b15f2300f4191fb0bc82 6782BCB01F19F400235FB15522BF1F73 SSD 2047625658368
00936aab2835082f2300082119b0bc82 6782BCB019210800232F083528AB6A93 Unspecified 599550590976
00a686b92476b15f2300f4191fb0bc82 6782BCB01F19F400235FB17624B986A6 SSD 2047625658368
00cd682712b055622300f4191fb0bc82 6782BCB01F19F400236255B0122768CD HDD 6000606183424
00fb437911f8b9632300f4191fb0bc82 6782BCB01F19F4002363B9F8117943FB Unspecified 6000606183424
00406b3a0fd2b9632300f4191fb0bc82 6782BCB01F19F4002363B9D20F3A6B40 Unspecified 6000606183424


PS C:\Users\Administrator> Set-PhysicalDisk -SerialNumber 00406b3a0fd2b9632300f4191fb0bc82 -NewFriendlyName HDD3
Set-PhysicalDisk : A parameter cannot be found that matches parameter name 'SerialNumber'.
At line:1 char:18
+ Set-PhysicalDisk -SerialNumber 00406b3a0fd2b9632300f4191fb0bc82 -NewF ...
+ ~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: :)) [Set-PhysicalDisk], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Set-PhysicalDisk

PS C:\Users\Administrator> Set-PhysicalDisk -NewFriendlyName HDD3 -UniqueID 6782BCB01F19F4002363B9D20F3A6B40
Set-PhysicalDisk : This operation is not supported on primordial storage pools.
Activity ID: {0ed577dd-97e0-4295-9f80-975313afbc67}
At line:1 char:1
+ Set-PhysicalDisk -NewFriendlyName HDD3 -UniqueID 6782BCB01F19F4002363 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (StorageWMI:ROOT/Microsoft/..._StorageCmdlets) [Set-PhysicalDisk], Cim
Exception
+ FullyQualifiedErrorId : StorageWMI 48000,Set-PhysicalDisk

PS C:\Users\Administrator> Get-Disk

Number Friendly Name Serial Number HealthStatus OperationalStatus Total Size Partition
Style
------ ------------- ------------- ------------ ----------------- ---------- ----------
0 DELL PERC ... 00936aab2835082f2300082119b0bc82 Healthy Online 558.38 GB MBR
1 DELL PERC ... 0062f3430aa80000ff00082119b0bc82 Healthy Online 10.92 TB GPT
5 DELL PERC ... 0059f4633f35b35f2300f4191fb0bc82 Healthy Online 2.73 TB GPT
8 DELL PERC ... 00406b3a0fd2b9632300f4191fb0bc82 Healthy Online 5.46 TB GPT


PS C:\Users\Administrator> Set-PhysicalDisk -FriendlyName PhysicalDisk8 -MediaType HDD
Set-PhysicalDisk : The requested object could not be found.
At line:1 char:1
+ Set-PhysicalDisk -FriendlyName PhysicalDisk8 -MediaType HDD
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (PS_StorageCmdlets:ROOT/Microsoft/..._StorageCmdlets) [Set-PhysicalDisk]
, CimException
+ FullyQualifiedErrorId : MI RESULT 6,Set-PhysicalDisk

PS C:\Users\Administrator> Get-PhysicalDisk | Select-Object SerialNumber,UniqueID,MediaType,Size

SerialNumber UniqueID MediaType Size
------------ -------- --------- ----
005185c913cc55622300f4191fb0bc82 6782BCB01F19F400236255CC13C98551 HDD 6000606183424
0062f3430aa80000ff00082119b0bc82 6782BCB019210800FF0000A80A43F362 Unspecified 12001212366848
0053f5ce2699b15f2300f4191fb0bc82 6782BCB01F19F400235FB19926CEF553 SSD 2047625658368
0059f4633f35b35f2300f4191fb0bc82 6782BCB01F19F400235FB3353F63F459 Unspecified 2998960914432
00731fbf2255b15f2300f4191fb0bc82 6782BCB01F19F400235FB15522BF1F73 SSD 2047625658368
00936aab2835082f2300082119b0bc82 6782BCB019210800232F083528AB6A93 Unspecified 599550590976
00a686b92476b15f2300f4191fb0bc82 6782BCB01F19F400235FB17624B986A6 SSD 2047625658368
00cd682712b055622300f4191fb0bc82 6782BCB01F19F400236255B0122768CD HDD 6000606183424
00fb437911f8b9632300f4191fb0bc82 6782BCB01F19F4002363B9F8117943FB Unspecified 6000606183424
00406b3a0fd2b9632300f4191fb0bc82 6782BCB01F19F4002363B9D20F3A6B40 Unspecified 6000606183424


PS C:\Users\Administrator> Get-PhysicalDisk

FriendlyName SerialNumber CanPool OperationalStatus HealthStatus Usage Size
------------ ------------ ------- ----------------- ------------ ----- ----
HDD1 005185c913cc55622300f4191fb0bc82 False OK Healthy Auto-Select 5.46 TB
DELL PERC H700 0062f3430aa80000ff00082119b0bc82 False OK Healthy Auto-Select 10.92 TB
SSD1 0053f5ce2699b15f2300f4191fb0bc82 False OK Healthy Auto-Select 1.86 TB
DELL PERC H800 0059f4633f35b35f2300f4191fb0bc82 True OK Healthy Auto-Select 2.73 TB
SSD2 00731fbf2255b15f2300f4191fb0bc82 False OK Healthy Auto-Select 1.86 TB
DELL PERC H700 00936aab2835082f2300082119b0bc82 False OK Healthy Auto-Select 558.38 GB
SSD3 00a686b92476b15f2300f4191fb0bc82 False OK Healthy Auto-Select 1.86 TB
HDD2 00cd682712b055622300f4191fb0bc82 False OK Healthy Auto-Select 5.46 TB
DELL PERC H800 00fb437911f8b9632300f4191fb0bc82 False OK Healthy Auto-Select 5.46 TB
DELL PERC H800 00406b3a0fd2b9632300f4191fb0bc82 True OK Healthy Auto-Select 5.46 TB


PS C:\Users\Administrator> Get-PhysicalDisk -SerialNumber 00406b3a0fd2b9632300f4191fb0bc82 | Set-PhysicalDisk -SetFriend
lyName HDD3
Set-PhysicalDisk : A parameter cannot be found that matches parameter name 'SetFriendlyName'.
At line:1 char:84
+ ... 6b3a0fd2b9632300f4191fb0bc82 | Set-PhysicalDisk -SetFriendlyName HDD3
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: :)) [Set-PhysicalDisk], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Set-PhysicalDisk

PS C:\Users\Administrator> Get-PhysicalDisk -SerialNumber 00406b3a0fd2b9632300f4191fb0bc82 | Set-PhysicalDisk -NewFriend
lyName HDD3
Set-PhysicalDisk : This operation is not supported on primordial storage pools.
Activity ID: {288c87a2-b2bc-4f95-a1ae-c380bd3542e3}
At line:1 char:67
+ ... 6b3a0fd2b9632300f4191fb0bc82 | Set-PhysicalDisk -NewFriendlyName HDD3
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (StorageWMI:ROOT/Microsoft/..._StorageCmdlets) [Set-PhysicalDisk], Cim
Exception
+ FullyQualifiedErrorId : StorageWMI 48000,Set-PhysicalDisk

PS C:\Users\Administrator> Get-PhysicalDisk -UniqueID 6782BCB01F19F4002363B9D20F3A6B40 | Set-PhysicalDisk -MediaType HDD

Set-PhysicalDisk : Not Supported
Activity ID: {8be0f255-6649-4a09-975a-d3d5a513603e}
At line:1 char:63
+ ... ID 6782BCB01F19F4002363B9D20F3A6B40 | Set-PhysicalDisk -MediaType HDD
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (StorageWMI:ROOT/Microsoft/..._StorageCmdlets) [Set-PhysicalDisk], Cim
Exception
+ FullyQualifiedErrorId : StorageWMI 1,Set-PhysicalDisk

PS C:\Users\Administrator>

Continue reading...
 

Similar threads

H
Replies
0
Views
430
HamstermanDK
H
T
Replies
0
Views
188
TimThomas9
T
D
Replies
0
Views
1K
DragosGheorghe1
D
G
Replies
0
Views
168
gijoe87
G
Back
Top Bottom