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 :

 

wvsandwijk

I am a Technical Specialist - Cloud Infrastructures from the Netherlands.
My Skills are mainly PowerShell, VMWare, Hyper-V, Microsoft System Center products and Windows Azure Pack.

I work for a company in Utrecht The Netherlands.