It still prints failed even though it worked
WSH-methods which don't return some other "object", more often then not return nothing at all. So you can't check for a success/failure return value as in $obj->method() || die; with those methods.
From your observation this seems to be the case here, too.
In reply to Re^3: error mapping drive (callee implies void context)
by pKai
in thread error mapping drive
by djbryson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |