|I only want to strip the value for free/total space + computer and export to txt or csv file as I'm dealing with 1000 or so pcs (if possible).|
I know this was for tvc but I'm a little tired or rolling around in the dark. What exact format and information do you want?
Something like this:
<computername>, <ip address>, <disk total>, <disk free>
Which ip address are you after? Execute "ipconfig /all" and pick the name of the entry (i.e. "Physical Address....", "IP Address...", "Default Gateway", ect).
Are you only after the size of the base volume (i.e %systemdrive% - usually c:) or do you want list all drives, if you want all drives how do you want the extra info formatted.
As for my script what base unit are you interested in? (b, kb, mb, gb)?
Judago - That is what i am looking for, just need to have it with no user interaction and extract only the values to a file.
Easily done, as long as I know exactly how you want the data.
I don't mean to be grouchy but without some solid requirements this just takes too long with much wasted effort.
Batch Variable how to