in reply to Re^4: Windows Net Use
in thread Windows Net Use
I have to admit that I confused myself a bit. The problem with $ is that in the regular expression it is interpreted as end line and needs to be escaped. The \\ needs to be duplicated to escape it to a double \ again in the regular expression. The WMI approach proposed further down is probably safer...
In Section
Seekers of Perl Wisdom