List Dfs Targets

Enumerates all the Dfs targets on a computer.

 
 
 
 
 
(0)
Add to favorites
Storage
8/10/2009
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • No instances remotely
    3 Posts | Last post September 26, 2011
    • Anyone else experiencing issues when using this WMI class remotely via script or otherwise?  Locall on the DFS server, all is fine.  However, using it remotely from another server or workstation, it doesn't always return all of the instances... if any.  I've tried this on 2003, 2003 R2, and 2008 R2 DFS servers.  Same results on all of them.
    • Ok, for anyone actually keeping score (and if anyone cares) this appears to be some sort of bizzare OS client/server quirk.  
      
      The WMI classes work remotely if you are coming from a Vista client or higher, but here is another fun part of the catch...  ONLY if you are going to a 2003 (or R2) server.  Connecting upwards to 2008 R2 still fails.  I haven't been able to check to a straight 2008, as I don't have one.  It also works going from 2003 R2 to 2003 R2.  Running from an XP workstation gets mixed results no matter what server OS you are connecting to.
      
      Anyone have any clues if there is a way to make this WMI class compatible on other systems?  Pretty much makes the class useless unless you are running the right combination of server/client OS.
    • see comments at http://msdn.microsoft.com/en-us/library/windows/desktop/aa394129(v=vs.85).aspx
      
  • DFS Target Status
    1 Posts | Last post March 28, 2011
    • I am running this script locally on a 2003 Server and it does not return the Target Status. This is the info I really require but is blank. the only way I have at the moment of getting this info is by right clicking the Target and Check Status.
      
      Anyone know why this might not be working?