You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to be able to do this : Get-ChildItem $somePath | Include;
Current Behavior
Currently, you would have to use a more verbose syntax 馃憤 Get-ChildItem $somePath | ForEach-Object {Include $_}
Possible Solution
Should just be a case of adding ValueFromPipeline=$true to the parameter, and putting the function's content into a process block.
I'm happy to implement this; just creating an issue to associate it with. This could probably be applied to other functions too (I've not had a thorough look yet). If I find them I can either add them to this issue, or log separate issues.
Steps to Reproduce (for bugs)
N/A
Context
This is just a minor improvement that makes user's code more concise.
Your Environment
N/A
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Expected Behavior
It would be nice to be able to do this :
Get-ChildItem $somePath | Include;
Current Behavior
Currently, you would have to use a more verbose syntax 馃憤
Get-ChildItem $somePath | ForEach-Object {Include $_}
Possible Solution
Should just be a case of adding ValueFromPipeline=$true to the parameter, and putting the function's content into a process block.
I'm happy to implement this; just creating an issue to associate it with. This could probably be applied to other functions too (I've not had a thorough look yet). If I find them I can either add them to this issue, or log separate issues.
Steps to Reproduce (for bugs)
N/A
Context
This is just a minor improvement that makes user's code more concise.
Your Environment
N/A
The text was updated successfully, but these errors were encountered: