dsccommunity / cNtfsAccessControl

The cNtfsAccessControl DSC resource module.
MIT License
33 stars 10 forks source link

problem when NoPropagateInherit = $true #5

Closed baldator closed 6 years ago

baldator commented 6 years ago

Hi,

I get the following message when applying the configuration with NoPropagateInherit = $true:

Cannot process argument transformation on parameter 'NoPropagateInherit'. Cannot convert value "System.Collections.ObjectModel.Collection`1[System.Management.Automation.PSObject]" to type "System.Boolean". Boolean parameters accept only Boolean values and numbers, such as $True, $False, 1 or 0.

I've fixed the issue... I'm going to send you a pull request in order to submit the fixed version.

Thank you, Marco

jpuskar commented 6 years ago

Same problem; just set NoPropagateInherit = $true on any example to repro.

SNikalaichyk commented 6 years ago

@baldator , @jpuskar , The bug fix has been released to the PS Gallery:

Install-Module -Name cNtfsAccessControl -RequiredVersion 1.3.1

Thanks!