dsccommunity / StorageDsc

DSC resource module is used to manage storage on Windows Servers.
https://dsccommunity.org
MIT License
66 stars 51 forks source link

Get-DiskByIdentifier: Allow FriendlyName property to be used as a disk identifier #268

Closed jambar42 closed 1 year ago

jambar42 commented 1 year ago

Problem description

Storage Spaces disks are difficult to define in the configuration with the existing disk identifiers. Please add FriendlyName as a valid disk identifier

See related issue for SerialNumber https://github.com/dsccommunity/StorageDsc/issues/259

Verbose logs

NA

DSC configuration

NA

Suggested solution

Add FriendlyName as a valid Disk Identification property

Operating system the target node is running

2019

PowerShell version and build the target node is running

5.1

StorageDsc version

5.0.1
PlagueHO commented 1 year ago

This should be possible. Not too difficult to implement I think as we designed the resource to be flexible on identity of the disk. I'm trying to get back into DSC after next week, so will prioritize this on the backlog.