ADReplicationSiteLink: Wrong verbose message when removing sites #518
Labels
bug
The issue is a bug.
good first issue
The issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHub
Details of the scenario you tried and the problem that is occurring
When a site that is part of
SitesExcluded
is present in the sites that are set, the verbose message that should show the site being removed does not show any site name.Verbose logs showing the problem
Suggested solution to the issue
The parameter variable name has a typo.
https://github.com/PowerShell/ActiveDirectoryDsc/blob/0643ee581d3de1148cd5ceb68eaab15fa5bcc726/DSCResources/MSFT_ADReplicationSiteLink/MSFT_ADReplicationSiteLink.psm1#L177
Changing this to
$SitesExcluded
would solve the issue.The DSC configuration that is used to reproduce the issue (as detailed as possible)
n/a
The operating system the target node is running
n/a
Version and build of PowerShell the target node is running
n/a
Version of the DSC module that was used ('dev' if using current dev branch)
dev
The text was updated successfully, but these errors were encountered: