troubleshooting Question

Powershell Script - Sorting the output in a logical order

Avatar of Nick Collins
Nick Collins asked on
2 Comments2 Solutions111 ViewsLast Modified:
Good Afternoon,

I currently have a power shell script that extracts data from a CSV source file and writes a new output file.

Script -

CSV Source File:

Output File:

I want to able to the sort the output file into the following order based on the headings below

1. Order Number
2. Please enter either the Plot Number, Garage Number or an area where the work is being done?
3. the following scaffolding which is either

So the new output file will look this

"HV_000024_1150980","189 188 plot ","Handing-Over"
Join our community to see this answer!
Unlock 2 Answers and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros