ONTAP Discussions

Powershell Pipeline no longer working after version 9.15.1.2407 install

EddieJ
237 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
218 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

 

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