Question: #1. Write the PowerShell syntax to do the following: # Obtain all processes # Filter and keep only processes with CPU greaterthan 20 (Filter PowerShell

#1. Write the PowerShell syntax to do the following:
# Obtain all processes
# Filter and keep only processes with CPU greaterthan 20 (Filter PowerShell so that it cannot be in theresults)
# Sort by CPU usage (Highest to Lowest)
# Display only the top 15 processes by CPUusage
# Format as a table, displaying the properties: ID,ProcessName, and CPU
# The CPU property should only display 1 decimalplace


#2. Take the PowerShell syntax from Question 1 and run it asa background job named "LocalProcessCPU"

Step by Step Solution

3.44 Rating (163 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Answer Code to copy GetProcess WhereObject CPU gt 20 SortObject CPU Descending SelectObjec... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Electrical Engineering Questions!