Skip to content

Commit 2e73ad9

Browse files
Update README.md
-PassThru option was deleted, but there was still a mentioning of it in the README.md file
1 parent 2078bf3 commit 2e73ad9

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

README.md

+2-14
Original file line numberDiff line numberDiff line change
@@ -107,19 +107,7 @@ This example shows defining a function named `killp` that shows a grid view of a
107107

108108
The example uses the `-Filter` paramter to filter for all proceses with a name that includes `note` (thus highlighting `Notepad` if it were running. Selecting an item in the grid view and pressing `ENTER` will kill that process.
109109

110-
### Example 7: Pass multiple items through Out-ConsoleGridView
111-
112-
```PowerShell
113-
Get-Process | Out-ConsoleGridView -PassThru | Export-Csv -Path .\ProcessLog.csv
114-
```
115-
116-
This command lets you select multiple processes from the **Out-ConsoleGridView** window.
117-
The processes that you select are passed to the **Export-Csv** command and written to the ProcessLog.csv file.
118-
119-
The command uses the _PassThru_ parameter of **Out-ConsoleGridView**, which lets you send multiple items down the pipeline.
120-
The _PassThru_ parameter is equivalent to using the Multiple value of the _OutputMode_ parameter.
121-
122-
### Example 8: Use F7 as "Show Command History"
110+
### Example 7: Use F7 as "Show Command History"
123111

124112
Add [gui-cs/F7History](https://github.com/gui-cs/F7History) to your Powershell profile.
125113

@@ -131,7 +119,7 @@ Whatever you select within `Out-ConsoleGridView` will be inserted on your comman
131119

132120
Whatever was typed on the command line prior to hitting `F7` or `Shift-F7` will be used as a filter.
133121

134-
### Example 9: Output processes to a tree view
122+
### Example 8: Output processes to a tree view
135123

136124
```PowerShell
137125
PS C:\> Get-Process | Show-ObjectTree

0 commit comments

Comments
 (0)