Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

PowerShell Write-DFSHealthReport on Server 2019

$
0
0

The Write-DFSHealthReport worked on server 2012 R2 but doesn't work on server 2019 when I try to move my scripts.  What is the difference?  It's using the same user account and both are local administrator on both server that's running it.  Most of the scripts I've moved is working.

Write-DfsrHealthReport -GroupName 'company.local\tech\me' -ReferenceComputerName server01 -MemberComputerName server01, server02 -Path C:\Temp -DomainName company.local -ErrorVariable ErrVar

Write-DfsrHealthReport : Could not create the health report on the computer named server01 for the replication groups named 
"company.local\tech\me". Error code: 0x80131500 A health report for replication group company.local\tech\me cannot be generated.
At line:1 char:1
+ Write-DfsrHealthReport -GroupName 'company.local\tech\me' -Re ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (System.String[]:String[]) [Write-DfsrHealthReport], DfsrException
    + FullyQualifiedErrorId : Remove-DfsrConnection.OMException,Microsoft.DistributedFileSystemReplication.Commands.WriteDfsrHealthReportCommand



Viewing all articles
Browse latest Browse all 15028

Trending Articles



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