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

Server 2016 DFS migration

$
0
0

I am migrating DFS shares on old file servers to server 2016. I can add the members based on existing memberships using powershell but when I try to set the membership to read only using powershell I get the following error:

Set-DfsrMembership : The read only property is not supported. The read only property is not supported.
At line:1 char:1
+ Set-DfsrMembership -GroupName $ServerDFSGroup -ComputerName $NewServe ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (DFSR membership...None specified.:String) [Set-DfsrMembership], DfsrException
    + FullyQualifiedErrorId : DfsrCore.ThrowIfInconsistent,Microsoft.DistributedFileSystemReplication.Commands.SetDfsrMembershipCommand

As a work around I have been manually setting them to read only using the DFS Management pane. Can anyone explain why I would be getting this error and how to work around it? I have tried setting it to read only when I set the other DFS properties and I've also tried setting it independently in a separate command. I am using the same variables to set the other DFS properties without issue.


Viewing all articles
Browse latest Browse all 13565

Trending Articles



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