Question: can u give alternative script this is showing plahgiarism and from chat gpt Problem 1 Computer Information for Remote Systems You have been asked to
can u give alternative script this is showing plahgiarism and from chat gpt Problem Computer Information for Remote Systems
You have been asked to complete an Annual Inventory Audit. Create a script that will read a list of computer names from a file, find the audit information on each remote computer and output this information to a report.
REQUIREMENTS
Functionality and Ability to Solve the Problem
Create a function that will gather information on remote computers based on the following requirements:
a Obtain the file path of computer names
i see USER INPUT #
b Obtain the following information from each computer:
i Computer Name
ii OS Version
iii. Serial Number
iv Manufacturer
v Model
vi RAM in GB
vii. C: drive size in GB
viii. Current logged on user
ix List of users or groups in the Administrator Group
c Create an audit report that includes the information you obtained
i see. SCRIPT OUTPUT #
d Obtain the folder path to store the audit report
i see USER INPUT #
e Handle any input or script errors
i see USER INPUT #
USER INPUT
OnScreen Instructions & Error Handling
Ask the user to type the path to a file file type of your choosing, ex txt csv xlsx containing the list of remote computer names. Store this value in a new variable.
a File Example: C:DatacomputerNamestxt
b This file should contain names of computers you are able to remote to while testing your script
Ask the user to type the path to the folder where they want to save the audit report
a Obtain the location to save the report specified by the user.
b The file name and type should be specified by the script and can be of your choosing
i Txt csv xlsx html etc
All user input should include:
a Onscreen instructions are easy to read and understand.
i No spelling or grammar errors
b Use of error handling for user input
i Script should not stop because an input was incorrect
ii Script should validate file type before continuing
iii. Script should validate folder path exists before continuing
SCRIPT OUTPUT
Audit Report & Attention to Detail
Audit report should include:
a Title
b Description that includes Student Name and Student Number
c Datetime the script was ran
d Information gathered by the script
e Other elements to improve the look and formatting of the report
SCREENSHOTS
Include screenshot of script scenario from Problem working as requested
a Include date & time stamp of your computer in the screenshot
Problem Create Employee Folder Shares
Your File Admin has a list of employees that are starting next week. Each employee requires a new shared folder. They would like a script that will read the list of employees, create a folder for each of them and then share each folder.
REQUIREMENTS
Functionality and Ability to Solve the Problem
Create a function that creates new shared folders based on the following requirements:
a Function should accept two input parameters
i First Obtain a file path containing employee names
See USER INPUT #
ii Second Obtain a parent folder path to create new shared folders
See USER INPUT #
b For each of the new employees listed in the file, create a new folder within the parent folder you requested from the user
i The folder name should use the following structure:
Include the employees first two initials last name
Example Full Path for a user named Mandie Allen: C:Sharesmaallen
ii The folder you create should also be shared with the Everyone Group in both NTFS and ACL shared properties hint: Look at SMB Shares and the NTFS Security Modules
c Create a custom object that includes the following information:
i Employee First Name
ii Employee Last Name
iii. Full path to new shared folder
iv UNC path to new shared folder
d Display custom object along with title and description to the console screen.
i See SCRIPT OUTPUT #
e Handle any input or script errors
i See USER INPUT #
USER INPUT
Ask the user to type the path to a file; this is the file with the names in it
a File Example: C:UsersUserDesktopNewHirestxt
b This file should contain the list of employee names that you can randomly makeup
Ask the user to type the path to a parent folder; the new shared folders should be created inside this folder.
a Example: C:Shares
All user input should include:
a Onscreen instructions are easy to read and understand.
i No spelling or grammar errors
b Use of error handling for user input
i Script should not stop because an input was incorrect
ii Script should validate file type before continuing
iii. Script should validate folder path exists before continuing
SCRIPT OUTPUT
Show the following information to the PowerShell console screen
a Title
b Description, including your student name and student number
c Contents of your custom object displayed as a table for each employee
SCREENSHOTS
Include screenshot of script scen
DO EVERYTHING USING POWERSHELL.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
