2011-03-23 04:20 PM
Just wondering if there is a Disconnect-NaController or equivalent command like there is with vmware?
ie: Connect-VIServer & Disconnect-VIServer
As I just dont like still being connected to the filer after I have run a script or command
Solved! SEE THE SOLUTION
2011-03-23 05:41 PM
Hi, James. The Toolkit doesn't maintain persistent connections, so there isn't a disconnect cmdlet. Connect-NaController saves the current connection context in the global variable $CurrentNaController, so you can set that value to null if you prefer, or use the -Transient switch to Connect-NaController, or just close the PowerShell session when you're done.