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