• You once you've sourced the file

    PS> . ./sqlem.ps1

    You should be able to simply run the functions the Powershell script defines:

    Export-RegisteredServers c:\servers.txt

    or

    Import-RegisteredServers c:\servers.txt