Quantcast
Channel: What does |% mean in PowerShell - Stack Overflow
Viewing all articles
Browse latest Browse all 3

What does |% mean in PowerShell

$
0
0

I've come across this today:

$tests = (Get-ChildItem . -Recurse -Name bin |% { Get-ChildItem $_ -Recurse -Filter *.Unit.Tests.dll } |% {  $($_.FullName) })Write-Host ------------- TESTS -----------Write-Host $testsWrite-Host -------------------------------.\tools\xunit\xunit.console.exe $tests -xml test-report.unit.xml

I can't get my head around what '|%' is doing there. Can anyone explain what it used for please?


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images