It looks like the backslash before your dollar sign is causing the problem; being in single-quotes, there's nothing special about the dollar sign, so the resulting string is:
\\server01\c\$
instead of the more-likely-in-a-windows-environment:
\\server01\c$
In reply to Re: Trying to get drive space info on remote Windows servers
by revhippie
in thread Trying to get drive space info on remote Windows servers
by Cloudster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |