Thanks...I tried that (\\lansweeperserver\lansweeper$\tv.ps1) and same issue.
Here is what I currently have:
powershell -noprofile -executionpolicy bypass -command \\servername\lansweeper$\tv.ps1 {computer}
I'm just trying to make it easier to launce Teamviewer for my service desk team. I may have to totally revisit it.