Microsoft Virtualization Discussions

vfiler context

JSHACHER11

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

I want to run commands on the filer level only

thank you

1 ACCEPTED SOLUTION

vinith

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

Some thing like this??

connect-nacontroller $ControllerName -credential $credential1

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

View solution in original post

JSHACHER11

thank you! - works like a charm...

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

JGPSHNTAP

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

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

Public