Microsoft Virtualization Discussions

After Connect-NaController, how can I recall to which filer/vfiler my session is established?

pierrek

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

2 REPLIES 2

cknight

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

pierrek

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

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