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

  How the a 5 axis cnc milling machine works

Describe the basic principles of how the a 5 axis CNC milling machine works, operation sequences, the purpose of its individual components and how they interact

  Explain the privileges of certification in the position

Explain the criteria needed for the position. Explain the privileges of certification in this position. Defend the importance of minimum qualification

  How a priority can established in interrupt service program

Consider a computer without priority interrupt hardware. Any one of many sources can interrupt the computer, and any interrupt request results in storing.

  How can use of security policies reduce risk

How can use of security policies reduce risk? Explain Why are end-users considered the "weakest" link in regards to implementing security policies and controls?

  Discuss your responses to questions posed in details

Discuss your responses to questions posed in details with examples. Minimum of THREE pages with single space. Review and incorporate following assignment expectations.

  Determine the tap setting for each transformer

The impedance of the line and transformers at 230 kV is 18 + j60 Ω. Determine the tap setting for each transformer to maintain the voltage at the load at 23 kV.

  Find the points of intersection of the curves

For each shaded region in Problem (a) find the points of intersection of the curves, (b) form the integral that represents the area of the shaded region.

  ME602 SCADA and Distributed Control Systems

ME602 SCADA and Distributed Control Systems Assignment help and solution, Engineering Institute of Technology - assessment writing service

  Obtain the logic diagram of a master- slave j-k flip flop

Obtain the logic diagram of a master- slave J-K  flip flop with AND and NOR gates. Design a counter with the following binary sequence 0,1,3,7,6,4 and repeat .use T flip-flop

  What air pollutants do think luster and integrity

What air pollutants do you think might be responsible for the deterioration of the vehicle paint color, luster, and integrity? Carefully explain your answer

  What are the density and volume-to-capacity ratio

What are the density, volume-to-capacity ratio, and level of service of the upgrade segment before and after the bus strike?

  Compute the fiber weight fraction wf

The amount of fibers in a composite sample can be determined by a burn-out test.- Compute the fiber weight fraction WFand matrix weight fraction WM.

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