POWERSHELL CHALLENGE 002 : ClusterReservestate

PS Challenge

Show the state of the ClusterReserveState on every Cluster in our Hyper-V environment

All Hosts in all Environments

I would like that the output looks like this.

Extra challenge : One-Liner (Import-module line exluded)


Solution :