I'm trying to connect to a remote SQL Server instance using PowerShell.

My username is `ONE_PERSON`.

This is the code I am using:

```
$user = "ONE_PERSON" 
$connectionString = "Server=$dataSource; uid=$user; pwd=$pwd; Database=$database; Integrated Security = False;" 
$connection = New-Object System.Data.SqlClient.SqlConnection 
$connection.ConnectionString = $connectionString 
$connection.Open()

```

When I run this, I get an error

> 
> Login failed for user 'ONE\_Person'
> 
> 
> 

For some reason it switches my user to lowercase even though when I run `$user` on its own, it still shows me in uppercase `ONE_PERSON`.

I even tried forcing it to stay uppercase by using `.ToUpper` at the end

And insights would be appreciated