Consider the following PowerShell commands around failover clustering:
Get-ClusterGroup "UKMAC-XA54" | Get-ClusterResource
The first cmdlet returns a single ClusterGroup object with the fields Name, OwnerNode & State.
Get-ClusterResource, if left to it's own devices, would return information about all resources in the cluster.
However, when used in the pipeline, there is obviously some filtering going on.
My question is "How does this filtering work?". How does PowerShell know to use the OwnerNode field from Get-ClusterGroup to filter Get-ClusterResource? There is a "Name" field return in both cmdlets, why doesn't it filter on "Name"? (which wouldn't actually work).
A link to a reference on this subject would be great.