The NetApp Community is moving to a new platform and is in Read-Only mode. Click to learn more.
Stay connected during the transition - Join our Discord community today.

Microsoft Virtualization Discussions

vfiler context

JSHACHER11
6,077 Views

what is the equivalent of 'vfiler context <vfiler>'?

I want to run commands on the filer level only

thank you

1 ACCEPTED SOLUTION

vinith
6,077 Views

Some thing like this??

connect-nacontroller $ControllerName -credential $credential1

connect-nacontroller -Name ($global:CurrentNaController).name -Vfiler $vfile -Credential $credential1

View solution in original post

3 REPLIES 3

vinith
6,078 Views

Some thing like this??

connect-nacontroller $ControllerName -credential $credential1

connect-nacontroller -Name ($global:CurrentNaController).name -Vfiler $vfile -Credential $credential1

JSHACHER11
6,078 Views

thank you! - works like a charm...

BTW, other than 'Invoke-NaSsh' is there a way to run 'rdfile'?

JGPSHNTAP
6,078 Views

Sure, if you have etc$ shared out, you can use native powershell to do anything over cifs

Public