ONTAP Discussions

Powershell Pipeline no longer working after version 9.15.1.2407 install

EddieJ
606 Views

Since I upgraded my Powershell to 9.15.1.2407 the pipeline function no longer works. No matter the command, it always errors with Volume parameter neither specified nor set. Below is screenshot example of the error message. Any ideas? 

 

thanks!

 

powershell error.jpg

3 REPLIES 3

EddieJ
587 Views

Actually, this may be something in our environment that has changed. I went on another box running 9.14 and it is exhibiting the same behavior. If anybody has run into this issue, please let me know.

 

thanks again

 

WhollyJoe
459 Views

I can confirm that Get-NcSnapshot is not taking in volumes from the pipeline (I can't say if it used to, but it doesn't now)

work around seems to be to assign the volume to a variable object first, then use it in the get

 

$exArchVol = Get-NcVol Extranet_Archives
Get-NcSnapshot -Volume $exArchVol

EddieJ
366 Views

Allot of functions are not working correctly. Such as Get-NCSnapmirror | Invoke-NcSnapMirrorQuiesce. Also the Get-NcSnapshot is not showing the size and cumulative size of the snaps.  The solution you provided is ok, but not for Bulk operations unless you write a little For-Each loop to do the job of a one line simple pipe. Again, this problem is on 9.14 module and 9.15 module. I am starting to think some Windows update broke this. 

 

Thanks

 

Public