We help IT Professionals succeed at work.

Create New DFS Domain-Based Namespace Powershell

1,775 Views
Last Modified: 2017-03-23
Hello trying to create a new DFS (root) domain based namespace using powershell and for some reason it is not working.. Can someone please shed some light and guidance? I have all the necessary role and features installed on 2012 (where DFSN cmdlets only work) Thank you so much!

New-DfsnRoot -Path \\domain.com\Location -TargetPath \\Server1\DFSROOT  -Type DomainV2
New-DfsnRootTarget -Path \\domain.com\Location -TargetPath \\Server2\DFSROOT
New-DfsnRootTarget -Path \\domain.com\Location -TargetPath \\Server3\DFSROOT

FYI... Share path D:\DFSRoots\Location are all established already on Server1, Server2 and Server3
And the shared folder permissions is the default --> All users have read-only permissions
Comment
Watch Question

Windows/Vmware
CERTIFIED EXPERT
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION