Fix issue #265. Support for Windows Failover Cluster
ISSUE TYPE
Bugfix Pull Request
COMPONENT NAME
win_format.ps1
win_partition.ps1
ADDITIONAL INFORMATION
On systems with an active failover cluster Get-Partitions and Get-Volumes show entries from all nodes in that cluster.
To solve the problem the code filters out all partitions and volumes without a disk number.
AFAIK only a local disk will ever have a disk number.
Tested with Windows Server 2022.
SUMMARY
Fix issue #265. Support for Windows Failover Cluster
ISSUE TYPE
COMPONENT NAME
win_format.ps1 win_partition.ps1
ADDITIONAL INFORMATION
On systems with an active failover cluster Get-Partitions and Get-Volumes show entries from all nodes in that cluster. To solve the problem the code filters out all partitions and volumes without a disk number. AFAIK only a local disk will ever have a disk number. Tested with Windows Server 2022.