Upcoming Scheduled Maintenance
The NetApp Knowledge Base will be offline between Oct 26, 23:59 PDT and Oct 27, 02:59 PDT, for system maintenance and infrastructure updates. As a result, Elio and kb.netapp.com will be unavailable.

ONTAP Discussions

Powershell Pipeline no longer working after version 9.15.1.2407 install

EddieJ
184 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

2 REPLIES 2

EddieJ
165 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
37 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
Public