in reply to Using WMI for file information

Are we confusing the terms "WMI" and "protocol" here? If you need to use WMI, why create a Perl script?

wmic /node:remote_ip /user:username /pass:password datafile where "dri +ve='c:' and path='\\specific\\directory\\'" get name ...

where "..." is the other attributes you want (e.g., file size, creation date, ...). If you're thinking about connecting to a cmd.exe window on the remote machine, then the suggestion about 'psexec' can get you there and then you can just do a "dir". Of course, none of that is using WMI as the "protocol" ... and none of this requires Perl.