Sunday, 10 August 2014

Finding all Get-Nc* with a -Node Switch

A little bit of code here which might be of interest. I was hoping I could search through all the Get-Nc* for certain switches to categorize them as being Cluster, Node, Vserver, ... Alas, it's not going to work because a lot of the commands use -name. Still, the below finds every Get-Nc* with a -Node switch.