Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For PSTK documentation use the Show-NaHelp cmdlet.
PS C:\Users\vinith> Show-NaHelp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
