in reply to Re: Trying to get drive space info on remote Windows servers
in thread Trying to get drive space info on remote Windows servers
Thanks for the reply. I knew it was crap coding and I recognized that it was calling twice, I just wanted to get the basic functionality going before tightening it up properly. Since I was experimenting trying to get it to work, I wasn't too concerned about the crap at the moment. I'm not a heavy-duty Perl coder, I'm a database admin, and didn't know that I could simply tie an 'or die' to the function call for error trapping, normally I'm quite dogmatic about including that.
Permissions isn't the issue, I'm using my network admin account when testing this. I was really wondering if I'm missing some sort of a network API call. The framework that this will fit in to reads and filters SQL Server logs every night, but that's just file I/O and works fine.
Thanks again! I'll plug your code in and give it a shot.