Mark,

Give this a shot -

Something like:
$arrSvcName = WMIQuery('Name','Win32_Service',$computer,'State|startmode','Running|automatic')
For each $item in $arrSvcName
? $item
next

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's