1,105,409 Community Members

New in powershell

Member Avatar
k2k
Posting Whiz
354 posts since Nov 2007
Reputation Points: 5 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 0 [?]
 
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

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: