Q2. What do the below PS cmdlets and parameters do? a) Get-process b) -confirm c) -whatif

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter8: Advanced Method Concepts
Section: Chapter Questions
Problem 7RQ
icon
Related questions
Question

Book reference: Windows PowerShell Step by Step 3rd Edition - Ed Wilson
Subj: PWS0 - PowerShell

Chapter 1

Q2. What do the below PS cmdlets and parameters do?

a) Get-process <process id>

b) -confirm

c) -whatif

d) Powershell -version 3

e) Get-Help Get-Process

f) Get-Help Get-Help –full

g) Get-Help get-p*

h) Get-Date -Format hh:mm

i) New-Alias

 

Q3.

a) What’s the command to get the below output?

b) What’s the process name and ID in the below output?

c) What’s the difference between suspending and ending a process?

Q4. What’s the command to set an alias for Get-Help to “g + h”

Q5. What is the command to list the Get-Process examples from the PS help file?

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

Q4. What’s the command to set an alias for Get-Help to “g + h” Q5. What is the command to list the Get-Process examples from the PS help file?

Solution
Bartleby Expert
SEE SOLUTION
Follow-up Question

Get-Help Get-Process

Solution
Bartleby Expert
SEE SOLUTION
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,