k2k 5 Posting Whiz

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