I'm setting up DFSR between two file servers. The following line in
the script updates the US server ($SourceComputer), but fails with the
message shown against the AU server ($DestinationComputer). I'm a bit
stumped.
Add-DfsrMember -GroupName $GroupName -ComputerName
$SourceComputer,$DestinationComputer
Add-DfsrMember : Could not add the computer to the replication
group. Computer: AUFS01P Replication group: "InfrastructureSoftware"
The remote procedure call failed
At line:1 char:1
+ Add-DfsrMember -GroupName $GroupName -ComputerName $SourceComputerNam ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (AUFS01P:String)
[Add-DfsrMember], DfsrException
+ FullyQualifiedErrorId :
Add-DfsrMember.NonTerminatingOMException,Microsoft.DistributedFileSystemReplication.Commands.AddDfsrMemberCommand
I've checked GPOs, and the same GPOs are applied to both machines.
I've checked the firewall, and it's WFO (which I intend to fix at some
point). I've also run enable-psremoting on the machine.
I've verified that the varial $DestinationComputer contains the correct machine.
What else should I be checking?
More context from the script can be provided if desired.
Kurt