SSPI error and DotNetMethod exception while connecting to the SQL DB using powershell script
Connection String should instead read: 

DRIVER=SQL Server;Server=$SQLServer;Database=$SQLDBName;UID=xyz;PWD=abc;