Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem Douglas, your manager, says that upper management is coming down hard on him to get his budget for computer upgrades submitted. He wants to

Problem

Douglas, your manager, says that upper management is coming down hard on him to get his budget for computer upgrades submitted. He wants to upgrade everyone to at least 8GB of memory (RAM) and replace everyone's C drive with a solid-state hard drive.

However, he doesn't know how many hard drives or how much memory (RAM) to buy. He has a list of computers to check in a text file to help make things a little easier for you.

Please create a script that will:

Ask the user to type the path to a text file; this is the text file with the computer names in it.

Example: C:\Users\User\Desktop\Computers.txt

For each of the computers listed in the text file, retrieve the size and free space of the C drive and retrieve how much memory (RAM) the computer has.

Save your findings as one professional looking file in the C:\Reports\ directory.

      • Format the information as a table with headings, columns, and rows.
      • Your file should start with a line that includes the report's name (Inventory report) followed by one or more lines that include a two-sentence description of what the report is.
      • Use the following file name: Inventory.txt
      • Use of new lines, ascii characters, and other elements to improve the look of the report should be utilized.

You should include the following information in your output, in the following order:

      • Computer name.
      • How much memory (RAM) the computer has in GB.
      • IP address.
      • C drive size in GB.
      • C drive free space in GB.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Certainly I can help you with that Heres a Python script that fulfills the requirements you mentioned python import os import socket import platform F... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Auditing Cases An Interactive Learning Approach

Authors: Steven M Glover, Douglas F Prawitt

4th Edition

0132423502, 978-0132423502

More Books

Students also viewed these Computer Network questions

Question

When is it important to rescale the data?

Answered: 1 week ago

Question

How to Construct a Stem and Leaf Plot

Answered: 1 week ago

Question

???? Question (1) Find the output of the following program

Answered: 1 week ago

Question

Explain how groupthink leads to mismanaged conflict.

Answered: 1 week ago

Question

List the three solutions for developing a more playful attitude.

Answered: 1 week ago

Question

Distinguish between hyperstress and distress.

Answered: 1 week ago