From an elevated Powershell session on either source or receiver, I can successfully run:
dfsrdiag backlog /smem:source /rmem:receiver /rgname:"Group" /rfname:"Folder"
However, from a PowerShell Remote session results in an access denied error:
Enter-PSSession -ComputerName source
dfsrdiag backlog /smem:source /rmem:receiver /rgname:"Group" /rfname:"Folder"
It fails with:
[ERROR] Failed to get LSA domain information for computer:receiver, Error 5 (0x5)
Similarly,
Enter-PSSession -ComputerName receiver;
dfsrdiag backlog /smem:source /rmem:receiver /rgname:"Group" /rfname:"Folder"
fails with:
[ERROR] Failed to get LSA domain information for computer:source, Error 5 (0x5)
source and receiver are in the same domain and my account is in the administrators group on both.
Any ideas?
PowerShell Get-DFSRBacklog fails in a similar manner when executed from a PSSession.