From 731c3966a0fd2bd042c394ec93e2a139422af128 Mon Sep 17 00:00:00 2001 From: Simon Heather <32168619+X-Guardian@users.noreply.github.com> Date: Sun, 12 Jan 2020 09:16:25 +0000 Subject: [PATCH] ADReplicationSiteLink: Fix Message (#541) - ADReplicationSiteLink - Fix RemovingSites verbose message (issue #518). --- CHANGELOG.md | 2 ++ .../MSFT_ADReplicationSiteLink/MSFT_ADReplicationSiteLink.psm1 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d2d8ed2d6..353b026ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,8 @@ For older change log history see the [historic changelog](HISTORIC_CHANGELOG.md) - Updated Assert-ADPSDrive with PSProvider Checks ([issue #527](https://github.com/PowerShell/ActiveDirectoryDsc/issues/527)). - ADReplicationSite - Fixed incorrect evaluation of site configuration state when no description is defined ([issue #534](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/534)). +- ADReplicationSiteLink + - Fix RemovingSites verbose message ([issue #518](https://github.com/PowerShell/ActiveDirectoryDsc/issues/518)). - ADComputer - Fixed the SamAcountName property description ([issue #529](https://github.com/dsccommunity/ActiveDirectoryDsc/issues/529)). diff --git a/source/DSCResources/MSFT_ADReplicationSiteLink/MSFT_ADReplicationSiteLink.psm1 b/source/DSCResources/MSFT_ADReplicationSiteLink/MSFT_ADReplicationSiteLink.psm1 index 532a91b44..4ac048c25 100644 --- a/source/DSCResources/MSFT_ADReplicationSiteLink/MSFT_ADReplicationSiteLink.psm1 +++ b/source/DSCResources/MSFT_ADReplicationSiteLink/MSFT_ADReplicationSiteLink.psm1 @@ -212,7 +212,7 @@ function Set-TargetResource $sitesIncludedParameters = @{} if ($SitesExcluded) { - Write-Verbose -Message ($script:localizedData.RemovingSites -f $($SiteExcluded -join ', '), $Name) + Write-Verbose -Message ($script:localizedData.RemovingSites -f $($SitesExcluded -join ', '), $Name) <# Wrapped in $() as we were getting some weird results without it,