Question: Task 4 . Advanced Pipeline work ( 1 0 points ) The lab files for this week include a text file with a list of
Task Advanced Pipeline work points
The lab files for this week include a text file with a list of computer names.
Have PowerShell read from this file to get a list of processes running on each of these computers.
Create a PowerShell pipeline that:
Reads the computer names in from a text file
Use SelectObject to map the string value $ to computerName for each object.
Were setting up for getprocess here. getprocess looks for a computer name stored in the computerName property for each object.
For each name in the collection, run getprocess.
This wont work. Thats fine. PowerShell will attempt to connect to the first computer, fail, and stop.
Capture the pipeline command below the rubric.
Start a new pipeline with just a ps command on the local computer.
In normal operation, you would continue to build on the pipeline from step The principle should be clear enough.
Filter the process list to only include processes with a CPU usage greater than
Sort the process objects by ID
Output just the names of the processes, formatted in rows and columns.
Paste a screenshot of your output and the text of your PowerShell commands below the rubric.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
