dsccommunity / StorageDsc

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

OpticalDiskDriveLetter: Fix finding drive on Azure Windows Server 2022 #275

Open tj-spyro opened 1 year ago

tj-spyro commented 1 year ago

Pull Request (PR) description

Added support for changing optical disk drive letter on Windows Server 2022 where the DeviceId appears to be longer than 10 characters in length.

This Pull Request (PR) fixes the following issues

Task list


This change is Reviewable

codecov[bot] commented 1 year ago

Codecov Report

Merging #275 (3db5666) into main (4a9e4fa) will increase coverage by 0%. The diff coverage is 100%.

Impacted file tree graph

@@         Coverage Diff         @@
##           main   #275   +/-   ##
===================================
  Coverage    95%    95%           
===================================
  Files         7      7           
  Lines       882    889    +7     
===================================
+ Hits        842    849    +7     
  Misses       40     40           
Impacted Files Coverage Δ
...calDiskDriveLetter/DSC_OpticalDiskDriveLetter.psm1 93% <100%> (+<1%) :arrow_up: