I have a string in powershell, which contains a native sqlcmd command. The command itself can be executed successfully in cmd.exe. I have difficulty in executing them in pow
Both instance name and username should be fully qualified
\Instanc_name and \Username. Only your instance name is correctly scripted.
\Instanc_name
\Username