I want to have a text file per server object so I tried to drive it in command line. I took the -DO option but every time I just got an empty file. I specifiied
SQLScriptercmd.exe -S Server -E -D database -DO MyProcName -o output.txt
Was I doing anything wrong?