That's the beauty of using Enumnetworkconnections... it will return those names, and if you know what it is, change it.

Code:
 if $ConnectionName="Primary"