Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

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

Repairing And Querying Databases Under Aggregate Constraints

Authors: Sergio Flesca ,Filippo Furfaro ,Francesco Parisi

2011th Edition

146141640X, 978-1461416401

More Books

Students also viewed these Databases questions