View Single Post
Old 02-03-2010, 10:42 PM   #13
Madhart
New Member
 
Join Date: Feb 2010
Model: N/A
PIN: N/A
Carrier: N/A
Posts: 7
Default

The Following Command Works Perfect:

Code:
bcp "SELECT DisplayName FROM BESMgmt.X.UserConfig" queryout
\\$$$.$$$.$$$.$$$\Remote Folder Path\BBExport.csv -c -t -S
ServerName\DB -T
The BCP command works a lot better then the OSQL command and the output format is so much better. Tonight I'm going to try to Execute it Via WMI from a Remote Computer VBscript. Thanks for all your help.
Offline   Reply With Quote