none
PowerShell Write-DFSHealthReport on Server 2019 RRS feed

  • Question

  • 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


    • Edited by JT_CP Wednesday, June 24, 2020 11:39 PM filter company name
    Wednesday, June 24, 2020 11:38 PM

Answers