Microsoft Virtualization Discussions

connect-nacontroller to vFiler

narendrathawani

Hello!

I'm new to powershell. I need to write a script to capture information from vFilers (7-Mode, ONTAP 7.3.x and 8.x)

Wondering what is the correct way to connect vFiler ?

Connect-NaController PhysicalFilerName -vFiler VirtualFilerName

or

Connect-NaController VirtualFilerName

I get the same results with both of these commands when I query any of vFiler in our environment.

What is the technical difference between these two commands and in which situation one would not work ?

Is there any documentation that I can refer to ?

Thanks!

3 REPLIES 3

vinith

For PSTK documentation use the Show-NaHelp cmdlet. 

PS C:\Users\vinith> Show-NaHelp

narendrathawani

Vinith,

Thanks for reply but Show-NaHelp doesn't say if "Connect-NaController VirtualFilerName"   is even a valid command.

The script is for end user who only know vFiler name. If "Connect-NaController VirtualFilerName"  is valid then we don't have to query DFM to get the PhysicalFiler Name.

beam

Connect-NaController PhysicalFileName -Vfiler VfilerName connects to the pfiler and tunnels the commands to the specified vfiler.  Connect-NaController VfilerName connects directly to the vfiler.

Either way is fine for communicating with vfilers.

-Steven

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