example for notepad++Pipe PowerShell's Get-Process
into Select-Object
.
Get-Process notepad++ | Select-Object pathExample command for Notepad++:
Output : Path
Get-Process notepad++ | Select-Object Path
DOutput:\Notepad++\notepad++.exe
Path
----
D:\Notepad++\notepad++.exe