Databases Reference
In-Depth Information
Alternatively, you can just use the built-in Help function. The Help function actually pipes the result
from the Get - Help cmdlet to more to support paging, as shown in the following example:
Help Get-Process -Full
Filtering
The cmdlets can produce humongous results. Not all of the columns and rows that are displayed as
output are useful all the time. You may need to filter the results. PowerShell provides two cmdlets for
filtering: Where - Object and Select - Object .
Asshownearlierwhenyouranthe Get - Process cmdlet, it returns all the processes running on the
current host (see Figure 2-32):
Get-Process
Figure 2-32
If, for example, you're only interested in the processes that start with '' s '', then you can use the Where -
Object cmdlet as shown here and in Figure 2-33:
Get-Process | Where-Object {$_.Processname -like "s*"}
Figure 2-33
Search WWH ::




Custom Search