Skip to content

Commit c306e02

Browse files
Copilotjohlju
andcommitted
Add IgnoreZeroEnumValue parameter to Get-DscProperty call
Co-authored-by: johlju <7189721+johlju@users.noreply.github.com>
1 parent 2b67c1b commit c306e02

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

source/Classes/020.SqlRSSetup.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,9 @@ class SqlRSSetup : ResourceBase
401401
hidden [void] Modify([System.Collections.Hashtable] $properties)
402402
{
403403
$getDscPropertyParameters = @{
404-
HasValue = $true
405-
Attribute = @(
404+
HasValue = $true
405+
IgnoreZeroEnumValue = $true
406+
Attribute = @(
406407
'Optional'
407408
'Mandatory'
408409
)

0 commit comments

Comments
 (0)