View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
EdStevens[_2_] EdStevens[_2_] is offline
external usenet poster
 
Posts: 5
Default access to info from windows and unix servers

Some time ago I wrote a macro that uses Windows API calls to gather
disk usage info from some remote Windows servers. I'd like to adapt
that to a new situation, but have a couple of hurdles to overcome.

First, because the orginal used Windows api calls to get the info, it
works only for Windows servers. I need to be able to also gather info
returned from a unix 'df -k' command. Don't know how I would connect
and issue that command, much less return it. Any ideas on how to
approach this?

Second, on the windows boxes, it depends on the user running the macro
to be logged on with an account that is a member of the target server's
local admin group. I may have to live with that and get approval to
add the appropriate accounts to that group.