I need to get some details about all snapshots on our systems... looks something like this:
foreach ($vol in get-ncvol) {
foreach ($snap in get-ncsnapshot -ZapiCall -Vserver $vol.vserver -Volume $vol | Select-Object NcController,Vserver,Name,Created,SnapmirrorLabel,BusySpecified)
Without the "-ZapiCall" it never finishes... but with it, it returns data, but leaves out the SnapmirrorLabel which is just blank.
I have tried to select the objects I need, but it makes no difference....
Any good ideas are welcome...