Invoke-NaSysstat now includes consistency point (CP) details in its WAFL output info. Note that different versions of Data ONTAP report different CP types, so Invoke-NaSysstat also reports the CP type labels in its output.
However there is no CP type in the output:
Please help me, because we have to log all Back-To-Back-CP-Types from the day.
They do, but it's not very straightfoward to get. From what I can see, it appears there are two properties that expose what you want:
CPTypes is an array of the different CP Types that can possibly occur. THis is identical for each sample.
CPCount is an array of numbers that appears to be the quantities of the different types of CPs that can occur.
I'm guessing that the index in the array of the number in CPCount corresponds to the same index in the CPTypes array. Basically, the number in position 0 of CPCount is the number of cps of the type in position 0 in CPTypes. Can one of the NetApp Powershell Toolkit guys confirm this?
I wrote a quick function you can try to see what I'm talking about: