Is there any reasonable way to export a list definition to a text file or script so it can be used to create a new list after some tweaks to the column names, and the addition of some additional columns? I specifically am not interested in "Save list as template", and am more interested in something which can be used via Powershell. I would love it if there was something similar to a SQL "CREATE TABLE" statement at our disposal.
My use case is, I have an existing list with about 40 columns in it. This list will be used as a pre-populator in a form where a user will fill in desired changes, along with additional columns, which will be submitted to a new list based on the source list. This is in a SP2010 Server environment.
For the dual reasons of accuracy and laziness, I wish to avoid having to hand-create those 40 columns.