PowerShell script(s) -- Contest

  • Status: Closed
  • Prize: $140
  • Entries Received: 3
  • Winner: vishaakm

Contest Brief

I need a script or a set of scripts that will convert a folder of JSON formatted text files into one CSV (with text qualifiers) file. The JSON file will contain a web url pointing to a PDF file on the internet. The script will need to download the file and save to the same directory as the csv file. The file will contain a “sheet” and “return envelope” field and the outgoing csv file will need to be sorted by sheet count then return envelope value. Include the sourceFilename in csv as a new field as well.

Also, two more text files will need be exported. First column is "resource_id" the source filename and "received_date" is current date time in UTC in ISO 8601 format: 2017-09-05T17:47:53Z (YYYY-MM-DDThh:mm:ssZ).

And one more with source file, current date time + 2 business days, and one value from the source file (resource mail type)

Error handling, emailing and logging are expected. An external config file will be needed to define the input and output oaths, and other other script variables

Recommended Skills

Employer Feedback

“Developer was great to work with, understood the request quickly and was able to provide a result that matched expectations.”

Profile image atpi, United States.

Top entries from this contest

View More Entries

Public Clarification Board

  • TraciY
    TraciY
    • 4 years ago

    I also updated my script to have 24-hour clock in file name "batch_yyyymmdd_hh" instead.

    • 4 years ago
  • TraciY
    TraciY
    • 4 years ago

    I have updated my script file to add 2 business days instead of 2 calendar days for ship_date.

    • 4 years ago
  • atpi
    Contest Holder
    • 4 years ago

    also, for filenames, can you make it batchID.csv (for json file converstion)
    batchID should be "batch_yyyymmdd_hh"
    the 2 column file should be named: Received_${CurrentDate}.csv
    and the other one: Completed_${CurrentDate}.csv

    • 4 years ago
    1. vishaakm
      vishaakm
      • 4 years ago

      Yup Completed

      • 4 years ago
  • vishaakm
    vishaakm
    • 4 years ago

    And one more with source file, current date time + 2 business days, and one value from the source file (resource mail type)

    Can Describe this again please [ I assumed it as 3 cloumns SourcefileName,Current date + 2 and the 3rd column i didnt understand ].

    I have completed all the other Tasks

    • 4 years ago
    1. atpi
      Contest Holder
      • 4 years ago

      it's a column called "ship_date" and it the value will be current date time + 2 business days.. For example if script was executed at 8am on 8/20/19, then the value will be 8am on 8/22/19

      • 4 years ago
    2. vishaakm
      vishaakm
      • 4 years ago

      ok i ll update it in my script

      I have posted my entry

      • 4 years ago
  • AhmadSameer
    AhmadSameer
    • 4 years ago

    Hello there, I'm interested..

    #increaseprize

    • 4 years ago

Show more comments

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!