
Getting DFS information from vbscript
Quote:
> Is anyone able to tell me how to obtain a list of referred servers for a
> specified Dfs link, from within an automated VBscript. I've exhausted all
> aveneues. I know the Dfsutil and dfscmd commands could be shelled at the
> last resort, but I'd really rather avoid that.
In .Net servers there is introduced a DFS WMI provider that may be able to do
this:
http://msdn.microsoft.com/library/en-us/wmisdk/wmi/dfs_provider.asp
Quote:
> The API call (NetDfsGetInfo)
> could be used, but this can't be called from vbs (can it?).
No, vbs can't call API's. Well, there exists some third party API wrappers, but
I would have parsed the output fom Dfsutil and dfscmd ;-)
--
torgeir