Quantcast
Channel: File Services and Storage forum
Viewing all articles
Browse latest Browse all 13565

Script to add update netbios target to FQDN targets in DFS using DFSCMD/DFSutil

$
0
0

Hi ,

     Need help.I have got 1 namespace running on 3 servers.Earlier these were set up to use netbios name for the folder targets .Now we would like them to have FQDN .

Here is what I am exactly trying to achieve:

1. Add FQDN target to each folder with a NETBIOS target. Some folders have FQDN targets so they should be skipped.
2. Then remove NETBIOS target where FQDN target has been added in step 1.
"dfscmd /view" can be use to make a list of targets that can be used to perform the above two steps in sequence, with a script, one folder at a time.
eg. for /f %i in ('dfscmd /view .... ') do dfsutil target ... 

Only reason to use the script is not have any downtime and namespaces can remain online.

Appreciate the help in advance.

Regards,

Himvy





Viewing all articles
Browse latest Browse all 13565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>