Changed Export Format from txt to csv.
Added switch to export as csv and json. (default csv)
Added Parameter help and valuefrompipeline.