BCP utility:“Copy direction must be either 'in', 'out' or 'format'”
Same version of Powershell on the servers/vms hosting SQL Server 2008R2, 2012, and 2016?
A parsing error that removes the double quotes around the query would result in this error.