NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

Powershell Pipeline no longer working after version 9.15.1.2407 install

EddieJ
2,029 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
2,010 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
1,882 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
1,789 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