Hi,
I'm working on a script where I among other things need to store information about a select few snapmirror relationships in an external file.
$relationsships = Get-NcSnapmirror works fine and $relationships | get-member indicates I should be able to see the source and destination clusters by
$relationships.SourceCluster and $relationships.DestinationCluster respectively. However, in my lab environment these return nothing.
Other pertinent information such as $relationships.SourceLocation and $relationships.SourceVolume (and their destination counterparts) works as expected.
If I also get the Vservers such as $svms = Get-NcVserver and do a
$sourceCluster = $svms.NcController | Where-Object {$_.Vserver -eq $relationships.SourceLocation.split(":")[0]}
I get what I need but I'm still a bit puzzled why I can't this information from the Get-NcSnapmirror directly. What am I missing here?