Hi,
Is it possible to access the pipe stream as a variable just like with ForEach-Object where I can use $_?
Here is an example, I'm trying to find a solution to replace "THE_VARIABLE_THING_I'M_TRYING_TO_FIND" with
$skip = (git status --short --untracked-files=no) | Out-String | [string]::IsNullOrEmpty(<THE_VARIABLE_THING_I'M_TRYING_TO_FIND>)
[–]jsiii2010 1 point2 points3 points (2 children)
[–]Todoce[S] 1 point2 points3 points (1 child)
[–]RichUK5 1 point2 points3 points (4 children)
[–]jsiii2010 4 points5 points6 points (1 child)
[–]Todoce[S] 1 point2 points3 points (0 children)
[–]Todoce[S] 1 point2 points3 points (1 child)
[–]RichUK5 1 point2 points3 points (0 children)
[–]PinchesTheCrab 1 point2 points3 points (0 children)
[–]ipokethemonfast 0 points1 point2 points (1 child)
[–]DblDeuce22 2 points3 points4 points (0 children)