List the current cpu and memory usage

Assignment Help Other Engineering
Reference no: EM133503940

CASE SCENARIO:

You are working as a server administrator at a consulting firm. Your client is a recent start-up company based out of Salt Lake City, Utah. Currently their environment contains only 35 employees. They will be doubling their staff in the coming months, and you will need to start automating some processes that are commonly run. In the near future, they may be hiring an intern for the system administration. As such, you will need to comment throughout the script to identify the script processes. Please follow the task requirements below to help this company.

REQUIREMENTS

Your submission must be your original work. No more than a combined total of 30% of the submission and no more than a 10% match to any one individual source can be directly quoted or closely paraphrased from sources, even if cited correctly. The similarity report that is provided when you submit your task can be used as a guide.

You must use the rubric to direct the creation of your submission because it provides detailed criteria that will be used to evaluate your work. Each requirement below may be evaluated by more than one rubric aspect. The rubric aspect titles may contain hyperlinks to relevant portions of the course.

Tasks may not be submitted as cloud links, such as links to Google Docs, Google Slides, OneDrive, etc., unless specified in the task requirements. All other submissions must be file types that are uploaded and submitted as attachments (e.g., .docx, .pdf, .ppt).

Question A. Create a PowerShell script named "prompts.ps1" within the "Requirements1" folder. For the first line, create a comment and include your first and last name along with your student ID.
Note: The remainder of this task should be completed within the same script file, prompts.ps1.

Question B. Create a "switch" statement that continues to prompt a user by doing each of the following activities, until a user presses key 5:

1. Using a regular expression, list files within the Requirements1 folder, with the .log file extension and redirect the results to a new file called "DailyLog.txt" within the same directory without overwriting existing data. Each time the user selects this prompt, the current date should precede the listing. (User presses key 1.)

2. List the files inside the "Requirements1" folder in tabular format, sorted in ascending alphabetical order. Direct the output into a new file called "C916contents.txt" found in your "Requirements1" folder. (User presses key 2.)

3. List the current CPU and memory usage. (User presses key 3.)

4. List all the different running processes inside your system. Sort the output by virtual size used least to greatest, and display it in grid format. (User presses key 4.)

5. Exit the script execution. (User presses key 5.)

Question C. Apply scripting standards throughout your script, including the addition of comments that describe the behavior of each of parts B1-B5.

Question D. Apply exception handling using try-catch for System.OutOfMemoryException.

Question E. Run your script and take a screenshot of the user results when each prompt (parts B3-B4) is chosen. Save each screenshot within the "Requirements1" folder. Compress all files (original and new) within the folder to a ZIP archive.

Question F. When you are ready to submit your final script, run the Get-FileHash cmdlet against the "Requirements1" ZIP archive. Note that hash value and place it into the comment section when you submit your task.

Reference no: EM133503940

Questions Cloud

What exactly does this imply : Mark has signed an advance directive stating that no life-sustaining measures will be used. What exactly does this imply
Assess fistula function : To assess fistula function, volumetric flow calculations are best measured in what part of the AV fistula?
Reflect on the clinical leadership you have seen : Reflect on the clinical leadership you have seen, was this positive or negative and why? Explain your answer and support with evidence
Discuss how you can use your cliftonstrengths to advocate : Discuss how you can use your cliftonstrengths to advocate for community/population health in your community and how it helped you formulate
List the current cpu and memory usage : Create a PowerShell script named "prompts.ps1" within the "Requirements1" folder. For the first line, create a comment and include your first and last name
How does the nurse use unit-specific technology : Investigate unit and patient-specific abbreviations and provide at least three sentences using the abbreviations correctly.
Explain how you would report and record them : Identify a hazard from each of the following categories and explain how you would report and record them according to work place procedures
What advice would you give to clients about interpreting bmi : What advice would you give to clients about interpreting their own BMI? Do you think BMI more important than healthy behaviors?
Impacting social justice in healthcare : Reflect and truly understand how they feel about this topic. Formulate your position as an executive leader on your role in impacting social justice

Reviews

Write a Review

Other Engineering Questions & Answers

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd