0

Today I have finally made up my mind to quit bat scripting and go for powershell... I need to do a quick script bascially trying to looping through a command output.. can anyone shed some light?

i tried

foreach ($col in 'app-command -argument')
    { echo $col }

well, guess my guess isn't correct. Can anyone help me with this? Thanks thanks

1
Contributor
0
Replies
6
Views
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.