Question: Part 1--Help with the following week 5: Answer the questions as best as possible in your own words. 1. In your own words what is

Part 1--Help with the following week 5:

Answer the questions as best as possible in your own words.

1. In your own words what is the main difference between 'if and elseif' when compared to 'else'. Provide an example script, run that script and show the screenshot and explain in your own words

2. Write some pseudo-code using if, elseif, and else for what you would do if you were not hungry, hungry, and really hungry. (Only the code needed here)

3. Take the pseudo-code from question two write a script where you assign a value to reflect your level of hungry and evaluate that variable using the family of if statements we have discussed. (Only the code needed here)

4. Give an example of an if, elseif, else type decision you make in your day to day life. (write the script, run the code and submit screenshot with explanation). PART 2 Explain the following command scripts in your own words, provide sample scripts, run that script, show screenshot and explain 1.Restore-Computer 2.Add-Content 3.Get-Content cat/type/gc 4.Set-Content 5.Clear-Content.

PART 2

Explain in your own words the following PowerShell commands, run the script, show screenshot output and explain

Get-Acl

Set-Acl

Active Directory

Get-Alias

Import-Alias

Checkpoint-Computer

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!