enumerate location of dfs?

Author Message
antun

  • Total Posts : 9
  • Scores: 0
  • Reward points : 0
  • Joined: 4/20/2005
  • Location:
  • Status: offline
enumerate location of dfs? Sunday, May 15, 2005 12:47 PM (permalink)
0
hey,

is there a way to enumerate which location the DFS is using?

normally in windows XP you can put in the dfs lecation which is

\\locaion\share
once at that location you can right click a folder, click on DFS tab and it will tell you which server it is using

\\servername

so how would i do this with a script?

Thanks?
 
#1
    crazymatt

    • Total Posts : 310
    • Scores: 0
    • Reward points : 0
    • Joined: 3/4/2005
    • Location:
    • Status: offline
    Re: enumerate location of dfs? Sunday, May 15, 2005 10:23 PM (permalink)
    0
    Im not sure this is what you are refering to, but it might get you started.

    http://www.microsoft.com/technet/scriptcenter/scripts/storage/dfs/stdfvb03.mspx

    Hope it helps.
    /Matt
     
    #2
      antun

      • Total Posts : 9
      • Scores: 0
      • Reward points : 0
      • Joined: 4/20/2005
      • Location:
      • Status: offline
      Re: enumerate location of dfs? Monday, May 16, 2005 12:59 PM (permalink)
      0
      Ok

      DFS is a distributed file system
      what that is if you have 2 servers, you can replicate data to both servers and only use 1 location

      so if you have \\domain\share
      this will point to \\server1\share or \\server2\share so you will get the same data anyways

      so what i want to know is if you do use \\domain\share which server would it be pointing to? server1, or server2?

      i explained above how you can do it manualy, but i want to be able to do it with a script

      Thanks
       
      #3
        antun

        • Total Posts : 9
        • Scores: 0
        • Reward points : 0
        • Joined: 4/20/2005
        • Location:
        • Status: offline
        Re: enumerate location of dfs? Monday, May 16, 2005 1:30 PM (permalink)
        0
        no that bit of script i couldnt get it to work
         
        #4
          token

          • Total Posts : 1917
          • Scores: 0
          • Reward points : 0
          • Joined: 1/14/2005
          • Location:
          • Status: offline
          Re: enumerate location of dfs? Monday, May 16, 2005 4:15 PM (permalink)
          0
          I don't believe you (I could be wrong of course) can determine which server it will actually use using scripts. By default, it will use the server with the lowest cost according to the site and subnet information from AD. Most of the time, it will use the same one (lowest cost) unless it couldn't be reached for some reason.

           
          #5

            Online Bookmarks Sharing: Share/Bookmark

            Jump to:

            Current active users

            There are 0 members and 1 guests.

            Icon Legend and Permission

            • New Messages
            • No New Messages
            • Hot Topic w/ New Messages
            • Hot Topic w/o New Messages
            • Locked w/ New Messages
            • Locked w/o New Messages
            • Read Message
            • Post New Thread
            • Reply to message
            • Post New Poll
            • Submit Vote
            • Post reward post
            • Delete my own posts
            • Delete my own threads
            • Rate post

            2000-2012 ASPPlayground.NET Forum Version 3.9