hi guys i have this statement i am running in ps and works just fine 

```
sc.exe \\localhost config serviceName obj= lab\user password= password type= own

```

however when trying to assign the part of it to a variable (see below) its the sc command is not being recognized by the cmd 

(not working)

```
$user     = "lab\user"
$password = "password"

$sc = "\\localhost config serviceName obj= {0} password= {1} type= own" -f $user, $password

sc.exe $sc

```

appreciate the help as always !!