Question: You are to create a Windows PowerShell script that produces a report in HTML Web page format from the students.txt file. See the link for
You are to create a Windows PowerShell script that produces a report in HTML Web page format from the students.txt file. See the link for an example html output within the assignment information provided in the Module 6 Folder.
The script must meet the following requirements:
The script must use the data file students.txt that is provided for processing. - 30 points
The output file should be named students.htm - 5 points
Every data line with a student number (example: 9999-9999) must be included in the report - 15 points
Every data line should be broken up into even, matching columns (like a spreadsheet) - 10 points
All data must be trimmed, no leading or trailing white space, and no empty values or garbage lines. - 15 points
There should be just one header line, scraped from the file, not hard coded -10 points
The student number must be detected using a regular expression or PowerShell method - 5 points
The script must include comments to explain your code - 10 points
The report headers must be visible in the HTML Web page and match the cells below - 10 points
The final deliverable will be your .ps1 script, not the HTML file. The teacher will generate the HTML file using your script - 15 points
You must use relative paths pointing to the current directory on all your code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
