Nayabad Call Girls ✔ 8005736733 ✔ Hot Model With Sexy Bhabi Ready For Sex At ...
Operating Systems Question.pdf
1. Operating Systems Question
operating systems question and need guidance to help me learn.
everything explains in the file please follow the instructions
Requirements: | .doc file
PowerShell Scripting Lab
Create a PowerShell script named XXScript where XX is the initials of your first and last
name.
The script should do the following:
Require the user to input their first name. (1 point)
Compare the name entered to your first name. If the user enters a name other than your
name (ie. if I entered Jason), the program should respond with “Hello Jason, you are not
authorized to use this system” and then the script should terminate without displaying an
options menu. (as seen above, the message should be printed in red on the screen)
If the first name is the same as your first name, the script will respond with a
greeting that says “Hello Dave (this should be your name, not mine), welcome to the
PowerShell menu system. Please make a choice from the displayed menu options:”. (4
points)
If the user is valid (ie. your name), then display a menu that offers the following options:
(5pts)
Check the version of PowerShell you are running
Create a new folder
Create a new file
Print the 5 most recent entries in the PowerShell Event Log
Exit Menu system
The menu prompt should appear as such: Please Enter Your Choice: (1 point)
Create the 4 PowerShell commands that will execute the actions in menu items 1 - 4. After
running each of the options, the results should be paused on the screen, and the menu
should be redisplayed until the user selects option 5, Exit. (16 points)
If the user selects option 5, Exit, they should receive a message that says “Have a GREAT day
and thank you for using the PowerShell menu system!”. The menu should NOT be rerun if
this option is selected. (2 points)
Prior to redisplaying the options menu, the screen should be paused (this can be
accomplished with the PowerShell “Pause” command) and then cleared after the user
2. presses a key to continue. (2 points)
Please upload your PowerShell script to the “Assignments” folder on D2L.
Below you can see screen shots of what your menu system should look like.
If a name other than “your name” is entered:
If “your name is entered”:
Selecting option ‘1’:
After selecting option ‘1’ (or any of the options other than option ‘5’) and pressing the key
to continue:
Selecting option ‘2’:
Selecting option ‘3’:
Selecting option ‘4’:
Selecting option ‘5’: