A simple question to any windows guru.
I'm looking for a way to do a 'df' on windows.
Basically, I want to list local drives (I don't mind if network drives show too, as long as they're identifiable), with size, and usage. (I don't mind if it's used, free or just a percentage).
Simple eh?
But here's the catch. It's got to be command line. I need to be able to run it in a script.
I'm _currently_ planning to use the sysinternals utility 'psexec' to run it on a list of 20 servers or so.
Anyone got some suggestions? I don't _really_ want to be logging in to each, doing clicky clicky on properties, simply because this is going to become a monthly report.
I'm looking for a way to do a 'df' on windows.
Basically, I want to list local drives (I don't mind if network drives show too, as long as they're identifiable), with size, and usage. (I don't mind if it's used, free or just a percentage).
Simple eh?
But here's the catch. It's got to be command line. I need to be able to run it in a script.
I'm _currently_ planning to use the sysinternals utility 'psexec' to run it on a list of 20 servers or so.
Anyone got some suggestions? I don't _really_ want to be logging in to each, doing clicky clicky on properties, simply because this is going to become a monthly report.
no subject
Date: 2004-12-20 06:02 am (UTC)link
no subject
Date: 2004-12-20 10:12 am (UTC)