2010-12-01 03:23 PM
PS C:\Users\Forgosh\Downloads> Get-NaVolOption coxDS
Get-NaVolOption : Could not find file 'C:\Users\Forgosh\AppData\Local\Temp\qzuzpksi.dll'.
At line:1 char:16
+ Get-NaVolOption <<<< coxDS
+ CategoryInfo : InvalidOperation: (NetApp.Ontapi.Filer.NaController:NaController) [Get-NaVolOption], FileNotFoundException
+ FullyQualifiedErrorId : ApiException,DataONTAP.PowerShell.SDK.Cmdlets.Volume.GetNaVolOption
Same result if I specify -Name coxDS
2010-12-03 03:31 PM
Is it safe to presume the following statements are true?
* coxDS is the name of a volume
* coxDS belongs to the NetApp controller to which your script has most recently connected
* the user account under which the script is running (or the credentials provided to the Connect-NaController cmdlet) have sufficient rights on the NetApp
Are you able to run other commands successfully? For example:
$vols = Get-NaVol | Sort-Object -Property Name
2010-12-05 10:20 AM
I finally nailed down the source of the problem. It turns out to be DropBox of all things. I installed the DropBox client so that I could store my code in the cloud and the errors started again. I uninstalled the DropBox client and all is well again.
2010-12-06 05:43 AM
FYI, on my laptop I use both dropbox and the PowerShell toolkit just fine. So while I don't doubt on your system there was some negative interaction it doesn't appear to always be this way.
PowerShell DataONTAP module 1.2.0