Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Display the complete command that will accomplish the following actions. (ie. If you were asked which command would allow you to navigate to the /var

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Display the complete command that will accomplish the following actions. (ie. If you were asked which command would allow you to navigate to the /var directory you would display the following: cd /var (NOT just the command cd)) 1. Which command allows you to find help for the Add-Computer cmdlet? (see example of command output below) PS in 0 | Nune Add-Conouter sintax 4 rises Nane 2. What command would you use to find all of the cmdlets that apply to a "process"? (see example of command output below using the term "Alias" instead of "process". Your output should be similar to this.) What command would you use to find all of the cmdlets that apply to a "process"? (see example of command output below using the term "Alias" instead of "process". Your output should be similar to this.) How many cmdlets did this return? 3. What command would you use to find all of the cmdlets that start with the word "Wait"? (see example of command output below using the term "Stop" instead of "Wait". Your output should be similar to this.) 3. What command would you use to find all of the cmdlets that start with the word "Wait"? (see example of command output below using the term "Stop" instead of "Wait". Your output should be similar to this.) How many cmdlets did this return? You are trying to run the Get-Service cmdlet but you are having trouble getting the command's syntax right, with all the spaces, dashes, commas, quotes, and whatnot. What command will prompt you for the command's parameters, and produce the output shown below? 5. Start up the "Notepad" application in Windows. Once it is started, which PowerShell command would you use to close the Notepad application? What command would allow you to assign your first and last name to a variable called MyName? (See example output below that uses my name) How would you view the contents of this variable? 7. Using the variable MyName that you created in the previous step, which command would allow you to create a new variable called Hello that utilizes the MyName variable to create a statement that says "Hello, my name is Dave Keller"? Obviously, your statement will include your name and not mine. Which command would allow you to print the contents of this variable? ( 2pts ) (See examnle outnut below that uses my name) 8. What command would allow you to create a variable called MyName that consists of two objects, your first name and your last name. Which command would allow you to print the contents of this variable? (2 pts) (See example output below that uses my name) 9. Using the MyName variable you created in the previous example, how would you go about only displaying only your last name? (See example output below that uses my name) 10. What command would you type to replace your last name in the MyName variable with the word Huskv? (See example output below that uses my name) Display the complete command that will accomplish the following actions. (ie. If you were asked which command would allow you to navigate to the /var directory you would display the following: cd /var (NOT just the command cd)) 1. Which command allows you to find help for the Add-Computer cmdlet? (see example of command output below) PS in 0 | Nune Add-Conouter sintax 4 rises Nane 2. What command would you use to find all of the cmdlets that apply to a "process"? (see example of command output below using the term "Alias" instead of "process". Your output should be similar to this.) What command would you use to find all of the cmdlets that apply to a "process"? (see example of command output below using the term "Alias" instead of "process". Your output should be similar to this.) How many cmdlets did this return? 3. What command would you use to find all of the cmdlets that start with the word "Wait"? (see example of command output below using the term "Stop" instead of "Wait". Your output should be similar to this.) 3. What command would you use to find all of the cmdlets that start with the word "Wait"? (see example of command output below using the term "Stop" instead of "Wait". Your output should be similar to this.) How many cmdlets did this return? You are trying to run the Get-Service cmdlet but you are having trouble getting the command's syntax right, with all the spaces, dashes, commas, quotes, and whatnot. What command will prompt you for the command's parameters, and produce the output shown below? 5. Start up the "Notepad" application in Windows. Once it is started, which PowerShell command would you use to close the Notepad application? What command would allow you to assign your first and last name to a variable called MyName? (See example output below that uses my name) How would you view the contents of this variable? 7. Using the variable MyName that you created in the previous step, which command would allow you to create a new variable called Hello that utilizes the MyName variable to create a statement that says "Hello, my name is Dave Keller"? Obviously, your statement will include your name and not mine. Which command would allow you to print the contents of this variable? ( 2pts ) (See examnle outnut below that uses my name) 8. What command would allow you to create a variable called MyName that consists of two objects, your first name and your last name. Which command would allow you to print the contents of this variable? (2 pts) (See example output below that uses my name) 9. Using the MyName variable you created in the previous example, how would you go about only displaying only your last name? (See example output below that uses my name) 10. What command would you type to replace your last name in the MyName variable with the word Huskv? (See example output below that uses my name)

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

Step: 3

blur-text-image

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

50 Tips And Tricks For MongoDB Developers Get The Most Out Of Your Database

Authors: Kristina Chodorow

1st Edition

1449304613, 978-1449304614

More Books

Students also viewed these Databases questions