From the course: PowerShell 7 Essential Training

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Select information

Select information - PowerShell Tutorial

From the course: PowerShell 7 Essential Training

Start my 1-month free trial

Select information

- [Instructor] And one of the most common things that you'll do within PowerShell is actually selecting of information or filtering or sorting, et cetera. Now, for example, if we run a Get-Process command, remember this will list all of the processes that run currently on the machine. Now, of course, that's great, but of course it doesn't always give me the information. So once again, if we run that again, you can see if I go right to the top here that we've got one, two, three, four, five, six, seven, eight, I've got eight fields of information that comes in. Now, luckily, my screen is wide enough that I can see this set of information, but there were times where even when you format that into a table, it doesn't quite show the information or you don't actually need all of the information at all. So let me just clear this. So what we can do here is I can say, Get-Process, and then of course, we're going to pipe this out.…

Contents