Skip to content

Commit

Permalink
removing script block for RecipientFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
Svilen committed May 11, 2020
1 parent 799a9ca commit eb6c4c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ For older change log history see the [historic changelog](HISTORIC_CHANGELOG.md)
$env:Temp and reused every time DSC check runs, instead of creating a new
module every time.
- Added AD Permissions parameter for xExchReceiveConnector.
- xExchAddressList: Removing the scriptblock creation for RecipientFilter
property in Get-TargetResource.

## [1.31.0] - 2020-01-27

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,7 @@ function Get-TargetResource
{
if ($addressList.$property -and $addressListProperties -contains $property)
{
if ($property -eq 'RecipientFilter')
{
$returnValue[$property] = "{$($addressList.$property)}"
}
else
{
$returnValue[$property] = $addressList.$property
}
$returnValue[$property] = $addressList.$property
}
}
}
Expand Down

0 comments on commit eb6c4c7

Please sign in to comment.