Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell array pipe foreach

$arr = @("A", "B", "C")
$arr | ForEach-Object { Write-Host $_ }
A
B
C
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #powershell #array #pipe #foreach
ADD COMMENT
Topic
Name
5+4 =