Set toolbar location/visibility using command line

How to customize toolbar location and visibility using command line?