While waiting for a guru to chime in, how does this look?
Get-ClusterSharedVolume | Get-ClusterOwnerNode | % {$_.CLusterObject.Name;
$_.OwnerNodes} | Format-List
From: [email protected] [mailto:[email protected]] On
Behalf Of Justin Thomas
Sent: Wednesday, July 16, 2014 9:12 AM
To: [email protected]
Subject: [NTSysADM] Powershell Help
I need to view the owners of clustered resources. I can enter this command
Get-ClusterSharedVolume | Get-ClusterOwnerNode
and it returns most of the answer, with two nodes scrolling off the screen...
I tried
Get-ClusterSharedVolume | Get-ClusterOwnerNode |fl
and it got better, but I still cannot see it all
I got a suggestion to try this:
Get-ClusterSharedVolume | Get-ClusterOwnerNode |export-csv c:\owners.csv
but what I get looks like this, which makes me think the command isn't quite
right, or complete
#TYPE Microsoft.FailoverClusters.PowerShell.ClusterOwnerNodeList
"ClusterObject","OwnerNodes"
"Cluster Disk
10","System.Collections.ObjectModel.Collection`1[Microsoft.FailoverClusters.PowerShell.ClusterNode]"
"Cluster Disk
2","System.Collections.ObjectModel.Collection`1[Microsoft.FailoverClusters.PowerShell.ClusterNode]"
Any thoughts?
Thanks
--
Probable Contrarian