Ok, I know from Clinton and beam there is no API for CIFS stat. I know we can do invoke-nassh and run cifs stat.
Ok, I know it's really cold here in the northeast, so my brain is potentially frozen or i'm overlooking something.. I'm trying to pull OpLkBkNoBreakAck from cifs stat or any one of the counters.. The issue i'm having is if I do
$stat = invoke-nassh -command "cifs stat"
It reads it as one
$stat.count = 1
So, when I try to throow it through a loop it thinks it's all one string so I can manipulate the text.
Any help in pushing me out of the mud would be great.