Just tried this, works like a champ man, this is sweet:

break on

$shellcmd="%comspec% /c dir *.kix"

$WshShell=CreateObject("WScript.Shell")

$oExec=$WshShell.Exec("$shellcmd")

for each $line in split($oExec.StdOut.ReadAll,chr(10))
 ?"line=" $line
next

exit 1