Q2. What do the below PS cmdlets and parameters do? a) Get-process b) -confirm c) -whatif
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?
Trending now
This is a popular solution!
Step by step
Solved in 4 steps
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?