Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
After Connect-NaController, how can I recall to which filer/vfiler my session is established?
2010-09-16
05:32 AM
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi All,
When working interactively with the powershell toolkit, after a session has been established to a filer or a vfiler (tunneling) with Connect-NaController, is there an easy way (cmdlet,?) I can invoke later during my PS session to show the execution context of the commands I am typing?
I hope my question makes sense
Kind regards
Pierre
View By:
2 REPLIES 2
Re: After Connect-NaController, how can I recall to which filer/vfiler my session is established?
2010-09-16
05:52 AM
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello, Pierre. Unless you use the -Transient switch, Connect-NaController stores the connection context in a global variable, CurrentNaController.
PS C:\> Connect-NaController dunn
Name Address Ontapi Version
---- ------- ------ -------
dunn 10.61.167.60 1.12 NetApp Release 7.3.3: Thu Mar 11 22:29:52 PST 2010
PS C:\> $global:CurrentNaController
Name Address Ontapi Version
---- ------- ------ -------
dunn 10.61.167.60 1.12 NetApp Release 7.3.3: Thu Mar 11 22:29:52 PST 2010
Re: After Connect-NaController, how can I recall to which filer/vfiler my session is established?
2010-09-16
06:15 AM
- Bookmark
- Permalink
- Email to a Friend
- Report Inappropriate Content
Thanks Clinton,
This toolkit is great, we're currently testing it at a customer site for vfiler management and really it is filling a gap.
Kind regards
Pierre