$array=("a","b","c")
foreach($i in $array){get-process|where { _$.Name -Equal $i}|kill}
can you help me to edit it .thanks
That last line should be more like:
foreach($i in $array){get-process|where {$_.Name -Eq $i}|kill}
"jerry qian" <qianx...@csii.com.cn> 写锟斤拷锟斤拷息
news:e$VDnlnjK...@TK2MSFTNGP05.phx.gbl...