-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
area-coreArea - Microsoft.PowerShell.Core moduleArea - Microsoft.PowerShell.Core module
Description
The variable $Input once accessed in the process block will be empty since it is an enumerator. Thus the text for all PowerShell editions and versions should be rephrased to clearly reflect that behavior.
The current text simply states that $Input enumerates the current object in the pipeline. It is not immediately clear that unlike $_ or $PSItem it will be empty once read.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: c21f7153-2a78-37c8-6935-9bf8aac83cea
- Version Independent ID: 901506c9-d895-9a5b-331f-7b332fc5e827
- Content: about_Automatic_Variables
- Content Source: reference/6/Microsoft.PowerShell.Core/About/about_Automatic_Variables.md
- Product: powershell
- GitHub Login: @SteveL-MSFT
- Microsoft Alias: slee
Metadata
Metadata
Assignees
Labels
area-coreArea - Microsoft.PowerShell.Core moduleArea - Microsoft.PowerShell.Core module