Hey there,
 
I have connected to one of my vservers running on a cDot cluster version 8.2.3 p6,
as the following:
Connect-NcController <vservername>  -Credential $mycred,
 
And I received a message saying that I'm connected.
 
After that, I have tried to run many commands, such as get-navol, get-naqtree and many more,
And I have received the following message everytime:
 
Get-NaVol : Value in $global:CurrentNaController is not of type NetApp.Ontapi.Filer.NaController
At line:1 char:1
+ Get-NaVol -Name <volname>
+ ~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Get-NaVol], ArgumentException
+ FullyQualifiedErrorId : ControllerNotSpecified,DataONTAP.PowerShell.SDK.Cmdlets.Volume.GetNaVol
 
Do I have to specify the controller name although i'm at the vserver level?
 
Even when I do, I get the following error:
 
et-NaVol : Incorrect credentials for <vservername>.
At line:1 char:1
+ Get-NaVol -Name vmis -Controller <vservername>
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (<vservername>:NaController) [Get-NaVol], NaAuthException
+ FullyQualifiedErrorId : ApiException,DataONTAP.PowerShell.SDK.Cmdlets.Volume.GetNaVol
 
How come the credentials are incorrect if I'm already connected to the vserver? 
 
Does someone know what is the issue?
 
Thanks a lot!!