Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using powershell 1.Create a variable $a and assign it a value of 3 then use the write-host command to display the value. 2. Write a

using powershell

1.Create a variable $a and assign it a value of 3 then use the write-host command to display the value.

2. Write a command to find the type of variable $a.

3. Create a variable $myname with your firstname and surname in it. Use the pipe symbol and gm to work out what methods are available to make it all uppercase or lowercase.

4. Write a command that display only the services that are running.

5. Write a command that display only the services that are not running.

6. Write a command that display only the services, starting with the letter w that are running.

7. Write a command that redirect all chrome processes to a file name process.txt. Write a command to output the content of process.txt file. 8. Write a command that redirect (add) all processes containing the word host to process.txt file above.

9. Write a command that will ask users about their location (Where do you live?). The command should read the input from a user and store it in a variable $location. Use another command to output the users response.

10.Write a command that will give you the current date in the following format: Tuesday, October 16, 2018. Write a command that will give only the current year

needing only the commands

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

Database Publishing With Filemaker Pro On The Web

Authors: Maria Langer

1st Edition

0201696657, 978-0201696653

More Books

Students also viewed these Databases questions