Hmm... not sure where I "inherited" it from but it is not an intrinsic function.

Code:

Function PList($PC)
Dim $PC,$Query,$ProcList
$Query = 'Select * from Win32_Process'
$objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\"+$PC+"\root\cimv2")
If @error
? @Serror+' on '+$PC ?
Exit @error
Endif
$Processes = $objWMIService.ExecQuery($Query)
for each $process in $Processes
$ProcList = $ProcList + $Process.name + '|'
next
$PList=Split($ProcList,'|')
EndFunction

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.