We don't bite newbies here... much | |
PerlMonks |
How to generate a process list from a Remote XP Machine using Perl and WMIby perllee (Novice) |
on Nov 26, 2008 at 06:10 UTC ( [id://726016]=perlquestion: print w/replies, xml ) | Need Help?? |
perllee has asked for the wisdom of the Perl Monks concerning the following question:
Hi,friends:how to generate a process list from a Remote XP Machine using Perl and WMI? The following are my ways:
Implementation of the code,Erroe: C:\Documents and Settings\lisuzhong\Desktop>perl -w procList.txt Win32::OLE(0.1707) error 0x800706ba: "RPC " after character 0 in "WinMgmts:{impersonationLevel=impersonate}!//WH2851030605387" at procList.txt line 8 eval {...} called at procList.txt line 8 Can't call method "InstancesOf" on an undefined value at procList.txt line 9. ------------------------------------------ Above,should be how do we solve this? Thanks.
Back to
Seekers of Perl Wisdom
|
|