PSItem

suggest change

Contains the object/item currently being processed by the pipeline.

PS C:\> 1..5 | % { Write-Host "The current item is $_" }
The current item is 1
The current item is 2
The current item is 3
The current item is 4
The current item is 5

$PSItem and $_ are identical and can be used interchangeably, but $_ is by far the most commonly used.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Automatic variables:
* OFS
*
* null
* error
* pid
* PSItem

Table Of Contents
1 Loops
19 XML
22 Strings
25 Aliases
26 Automatic variables
47 MongoDB
65 AWS S3