In bash, I am using the following bcp command to create an XML format:
bcp DATABASE.[UserData] format nul -c -x -f F:\UsageExports\UserData.xml -t, -T
However, when I run the same command in Powershell, I get the error: Missing argument in parameter list
I also tried executing the command without in Powershell:
bcp DATABASE.[UserData] format nul -c -x -f F:\UsageExports\UserData.xml -t -T
However, the -t tag does not work and the terminator is not included in the XML.