Week 8 System Administrator Task VBScript

Question Description

Write a VBScript that performs a system administrator’s task depending on the day of the week (using the weekday function):

Sunday: Ping www.devry.edu (Links to an external site.) and log it in a text file titled ping.txt (20 points)

Monday: Run netstat and log it in a text file titled netstat.txt (20 points)

Tuesday: Run arp -a and log it in a text file titled arp.txt (20 points)

Wednesday: Run nbtstat -n and log it in a text file titled nbtstat.txt (20 points)

Thursday: Tracert www.devry.edu (Links to an external site.) and log it in a text file titled tracert.txt (20 points)

Friday: Run ipconfig and display the output on the screen (20 points)

Saturday: Run hostname and display the output on the screen (20 points)

You may use if-else or the select statement. (10 points)

All commands must be executed in individual procedures. (10 points)

Submit the VBS code and a screenshot in a single word document.