Using PowerShell ISE or VSCode, create a PowerShell script that will do the following: You are going...

90.2K

Verified Solution

Question

Programming

Using PowerShell ISE or VSCode, create a PowerShell script thatwill do the following:

You are going to create an HTML web page report from a standardprocessed report. You will use the text file “STUDENTS.TXT” locatedon Canvas.

The script must meet the following requirements:

  1. The output file should be named ITS3410-{yourname}.htm
  2. Every line of data that has a student number (9999-9999) mustbe included in the report
  3. All data must be trimmed
    1. No leading white space
    2. No trailing white space
    3. No empty values
    4. No garbage lines
  4. The student number MUST be detected using regular expression(regex)
  5. You must include comments in your code to explain it
  6. The report headers must be visible in the HTML web page

Answer & Explanation Solved by verified expert
3.9 Ratings (571 Votes)
What we need to accomplish To process the input list of text To prepare structured html report based on data in input Now we can apply the Henry Ford method to these basic tasks Every task is simple if split into sufficiently small steps Remove unnecessary content from input remove craplines clean up important lines Detect the structure of the content That will especially require you to interpret the header Applying knowledge of the structure to parse the data content hint The output should be objects I have used PowerShell to    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students