Question

1. Who created Powershell? 2. What is the "pipe" command and what is it used for?...

1. Who created Powershell?

2. What is the "pipe" command and what is it used for?

3. What is the script that is used to find all the services that are currently running on the computer?

4. What is the PowerShell command to run Notepad?

5. What is are the aliases for the following PowerShell commands: Set-Location, Copy-Item, Get-Childitem, New-PSDrive.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1. Who created PowerShell?
Jeffrey Snover is the primary inventor of PowerShell along with co-inventors Bruce Payette and James Truher.

2. What is the "pipe" command and what is it used for?
pipe command is represented by the symbol |. The output of one command can be given as a subsequent command using a pipe.
For example:
sort abc.txt | uniq
This would sort abc.txt file, the sorted output is given as an input to uniq command to filter only unique values.

3. What is the script that is used to find all the services that are currently running on the computer?
We can use below command in PowerShell to find all the services currently running in the system.
Get-WmiObject win32_service

4. What is the PowerShell command to run Notepad?
Win + R
enter powershell
PowerShell would open.

Once PowerShell is opened type the below command

Start-Process 'C:\windows\system32\notepad.exe' -Credential $cred

This would open notepad.

5. What is are the aliases for the following PowerShell commands: Set-Location, Copy-Item, Get-Childitem, New-PSDrive.
PSPath for Set-Location
ad, d for Get-Childitem
cf for Copy-Item
wi for New-PSDrive

Add a comment
Know the answer?
Add Answer to:
1. Who created Powershell? 2. What is the "pipe" command and what is it used for?...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Task 12: Working with Windows PowerShell ISE You can use the Windows PowerShell Integrated Scripting Environment...

    Task 12: Working with Windows PowerShell ISE You can use the Windows PowerShell Integrated Scripting Environment (ISE) to create, run, and debug commands and scripts. The Windows PowerShell ISE consists of the menu bar, Windows PowerShell tabs, the toolbar, script tabs, a script pane, a console pane, a status bar, a text-size slider and context-sensitive Help. It works for both local and remote scripts. Using the Windows PowerShell ISE gives you many different advantages when creating scripts. Although it can...

  • Task 10: Creating functions In Windows PowerShell, you can declare functions. Functions are reusable pieces of...

    Task 10: Creating functions In Windows PowerShell, you can declare functions. Functions are reusable pieces of code that can be called as many times as you want after you declare them. In this step, you will declare a function, learn about using different types of parameters, and specify default values for these parameters. 1. In the Windows PowerShell ISE, press CTRL+N. 2. In the script pane, type the following code. function Get-Soup ( [switch] $please, [string] $soup = "chicken noodle"...

  • I'm attempting to run windows powershell through VBA in excel, while passing variables from VBA. ...

    I'm attempting to run windows powershell through VBA in excel, while passing variables from VBA. My code works successfully in powershell, but I get an error that says "The string is missing the terminator" when attempting to run the script through VBA. I also get an "Expected: list separator" error within VBA. The code that I use in powershell is: Get-ChildItem “H:\Users\Desktop\A Folder With Subfolders Containing Files” -Recurse -Filter "*.xlsm" | Copy-Item -destination “H:\Users\Desktop\A Different Folder I Want All the...

  • 1. Write the command to set the following permissions on a script file with the following...

    1. Write the command to set the following permissions on a script file with the following name; myscript.sh Owner: full access; read, write and execute Group: read and execute Other: no access 2. Create a new file with the name "myfirstscript.sh". Write a new script that performs the following tasks in sequence; Display the usernames of currently logged in users; sorted from a-z HINT: You will need to filter the output of the whocommand Display a list of usernames who...

  • Linux ps is a command that displays information about all processes currently running in your system....

    Linux ps is a command that displays information about all processes currently running in your system. Read man page of ps command. Enter the following commands: (1) ps-ef more and (1) ps -ef | more and (2) ps-aux | more. Both of these will result in displaying a long list of processes. Identify what processes are started when the system is booted, and what processes are started later on. For each process, find out who owns it, what code it...

  • 1. Provide a VERY short review for the ipconfig/ifconfig command. 2. Run the following command: i...

    1. Provide a VERY short review for the ipconfig/ifconfig command. 2. Run the following command: ipconfig /all (Windows) ifconfig /all (Linux/MAC) Report the IP addresses of your DNS servers. These IPs could be IPv6 and/or IPv4, identify them accordingly. Provide a snapshot of the results. 3. Provide a VERY short review for the tracert/traceroute command. 4. Run the following command: tracert www.louvre.fr (Windows) traceroute www.louvre.fr (Linux/MAC) Report the number of hops and time needed to reach the remote location. Provide...

  • For each command give me the ENTIRE COMMAND SEQUENCE. If I ask you 'What command would...

    For each command give me the ENTIRE COMMAND SEQUENCE. If I ask you 'What command would I use to move the file one.txt to the parent directory and rename it to two.txt?", the answer is NOT 'mv'. That is only part of the command. 16. What command could I run to determine whether the ssh daemon is listening? With OpenSSH installed and running, the result should show that ssh/port 22 as "listening.' (5 pts) 17. Create a crontab entry that...

  • 2. [5] What is the command used to limit the default permissions for new file and...

    2. [5] What is the command used to limit the default permissions for new file and new directory? Please write the command to set the default file permission to -rw- and default directory permission to drwx--x-x

  • LINUX QUESTIONS (dont have to display output, I will be running these commands myself to check...

    LINUX QUESTIONS (dont have to display output, I will be running these commands myself to check the output) Display the command(s) used to do the following: create an empty file called history by using just a redirection operator. Verify and show. Show/verify all results (i.e., all commands and their corresponding outputs). Wait 1 minute or more and then display the command(s) used to do the following: change the timestamp on the history file you just created. Verify/display the change. Show/verify...

  • Duplicate IP addresses t possible for more than one ork with someone eise and set both...

    Duplicate IP addresses t possible for more than one ork with someone eise and set both computers to have the same IP address Gust change computer to have the same IP address? me of them to match the other tart a Wireshark packet capture on both computers so you can watch the actual packet raffic under these conditions a) Observe what happens when the computers with identical addresses try to ping each 5. Duplicate IP addresses a) Are the ping...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT