Hello, Kurt. When you issue Connect-NaController, the resulting connection is cached in $global:CurrentNaController, and this value is used by all subsequent Toolkit cmdlet invocations unless you specifically provide the target using the -Controller parameter.
So to get Snapmirror relationships on a single controller, try:
Connect-NaController <controllerName>
Get-NaSnapmirror
To get Snapmirror relationships on a different controller, or in a loop context, try this:
$controller = Connect-NaController <controllerName>
Get-NaSnapmirror -Controller $controller
To get a specific relationship:
Get-NaSnapmirror -Location <sourceOrDestinationName> -Controller (Connect-NaController <controllerName>)
In this last case, the -Location parameter is just a string that matches the values returned by Get-NaSnapmirror or the values in /etc/snapmirror.conf. Don't forget that you can use wildcards in the -Location parameter to expand your query results. Also, nearly all Toolkit cmdlets have one or more examples in their online help, i.e. 'man Get-NaSnapmirror -Examples'.