| more has no effect.

I think Scott's suggestion isn't gathering the right info, not that it is
incomplete. I did go ahead and added the force flag, and that did
not change the results.


On Wed, Jul 16, 2014 at 12:25 PM, Elijah Buck <[email protected]> wrote:

> Is the issue really just that it is scrolling off the screen? You can
> just pipe to more if that's the case:
> Get-ClusterSharedVolume | Get-ClusterOwnerNode | more
>
> Or, if you think a property isn't being displayed, you can add the
> -Force flag to Format-List.
>
> Elijah
>
> On Wed, Jul 16, 2014 at 10:06 AM, Justin Thomas <[email protected]> wrote:
> > Hmmm, that completes and gives me info, but not quite what I'm looking
> for.
> > This doesn't show ownership.
> >
> > PS C:\Users\justin.thomas> Get-ClusterSharedVolume |
> Get-ClusterOwnerNode |
> > % {$
> > _.CLusterObject.Name; $_.OwnerNodes}  | Format-List
> > Cluster Disk 10
> >
> > Name  : HOK-55SVR
> > Id    : 5
> > State : Up
> > Name  : HOK-56SVR
> > Id    : 1
> > State : Up
> >
> > and so on, through the other 9 resources and 3 other nodes.
> >
> >
> > On Wed, Jul 16, 2014 at 10:18 AM, Crawford, Scott <[email protected]
> >
> > wrote:
> >>
> >> 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
> >>
> >>
> >
> >
> >
> >
> > --
> > Probable Contrarian
> >
>
>
>


-- 
Probable Contrarian

Reply via email to