Question: In your Windows Client virtual machine develop the following scripts in visual studio code. 2 . Develop a script named C: IA Assignments
In your Windows Client virtual machine develop the following scripts in visual studio code.
Develop a script named C:IAAssignmentsSkillsExamps the script will allow users to select a time zone from a PowerShell menu.
a You must include comment lines in your script to explain what the script is doing.
b You must display messages to the users who run your script explaining what is happening when the script performs an action.
c You must use a switch statement to provide an interactive menu
d You must include functions to set the following time zones, Pacific, Mountain, Central, Eastern. You also need a function to exit the script.
e Functions where the time zone is set must include conditional logic. For example, if attempting to set the time zone to Central display a message stating the computer is already set to Central Time else if the time zone is not set to Central Time change the time zone to central.
f When script is complete past the source code below
Develop a script named C:IAAssignmentsSkillsExamps the script will allow users to select a enable BitLocker on the system drive of their Windows Client Virtual Machine.
a You must include comment lines in your script to explain what the script is doing.
b You must display messages to the users who run your script explaining what is happening when the script performs an action.
c You must use a switch statement to provide an interactive menu
d You must use functions. Your script should contain the following functions.
i A function to set the encryption password
ii A function to create the required registry keys
iii. A function to delete the required registry keys
iv A function to enable BitLocker encryption
v A function to disable BitLocker encryption
vi A function to exit the script
e The function to set the encryption password must prompt the user for a password twice. If the passwords do not match, ask the user to reenter the password until the passwords match.
f For both the create and remove registry key functions use conditional logic to provide a message to users indicating if the key already exists. If the keys do not exist create the keys.
g BitLocker requires a registry key with two registry values to use BitLocker without a TPM module. A screenshot showing the required registry key and two entries are attached to this assignment in Blackboard.
h Although not required consider adding the following bonus items to your encryption function.
i Write a progress bar indicating the current encryption percentage
The same progress bar concept can be used to show the current decryption percentage in the decryption function.
ii Generate and export a recovery key to a file on the secondary hard drive to ensure the system can be recovered if the password is forgotten.
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
