Details of the scenario you tried and the problem that is occurring:
When writing test for this resource I found that Set-TargetResource doesn't check if the disk is actually present before trying to remove it from the cluster.
This has not been a problem before since it called the Test-TargetResource method. But in a n effort to minimize code path that was removed and then this become apparent.
The DSC configuration that is using the resource (as detailed as possible):
Details of the scenario you tried and the problem that is occurring: When writing test for this resource I found that Set-TargetResource doesn't check if the disk is actually present before trying to remove it from the cluster. This has not been a problem before since it called the Test-TargetResource method. But in a n effort to minimize code path that was removed and then this become apparent.
The DSC configuration that is using the resource (as detailed as possible):
Version of the Operating System and PowerShell the DSC Target Node is running: n/a
Version of the DSC module you're using, or 'dev' if you're using current dev branch: Dev