Microsoft Virtualization Discussions

vfiler context

JSHACHER11
4,950 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
4,950 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
4,951 Views

Some thing like this??

connect-nacontroller $ControllerName -credential $credential1

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

JSHACHER11
4,951 Views

thank you! - works like a charm...

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

JGPSHNTAP
4,951 Views

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

Public