You have been hired as a system administrator for a small company. Your primary job responsibility is to maintain company servers named Serv1 and Serv2.The following tasks have to be performed every day and you would like them automated.
Display the System, Application and Security event viewer logs for both servers to make sure there are no Error or Warning messages that happened overnight.
Save the previous day’s Error and Warning events from the 3 event logs from each server. All tracked events for each server should be stored in a single file in the folder C:\logfiles. I.e. this file should contain 3 sections, labeled “System”, “Application” and “Security”, with each section representing the referenced event log data. The files should be named EventLogsServY-XX, where Y is the Server number and XX should be replaced by today’s date.
After you review the logs file, you may wish to have it backed up for archival purposes to a USB external drive and delete the original file from the C:\logfile folder. Since you may only do this in special cases, you do not know ahead of time the UNC path to the backup folder. You wish to create a script automate this task by completing the following steps in a script.
Copy the EventLogsServY-XX files to a backup drive. The exact name of the EventLogsServY-XX file, the drive letter and location of the backup file should be user input variables at the time the script is executed. The script should also ask, if there are more files to be backed up and exit only if there are no more files to be backed up.
After the EventLogsServY-XX files have been backed up, the original files located on the C:\logfiles folder should be deleted.
Final Project DeliverablesFor this project, you may use any of the scripting languages to create 2 separate scripts. The script code must contain appropriate comments describing in sufficient details what steps are being performed.
The first script will be used to automate log file creation process – tasks (a) and (b). This script should be called LogFiles.ZZZ, where the ZZZ – represents the correct extension based on the chosen scripting language.
The second script will be used to automate the copy and deletion process – tasks (c) and (d). This script should be called ArchiveLogs.ZZZ, where the ZZZ – represents the correct extension based on the chosen scripting language.
the needs scripts to complete the required tasks, and how well the imbedded comments document the script commands.
assignment that’s due in 11hrs i understand that not enough time the person i handshake with decided to back off on it and saying he can’t do it
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more