microsoft / BaselineManagement

Conversion tool used to Convert Group Policy baselines into DSC
MIT License
266 stars 52 forks source link

Undefined DSC resource 'cSecurityDescriptorSddl' #16

Closed mpeter13 closed 6 years ago

mpeter13 commented 6 years ago

Undefined DSC resource 'cSecurityDescriptorSddl' Use Import-DSCResource to import the resource - Getting this error trying to convert a GPO backup, I do have the PowerShellAccessControlModule installed from the gallery and in my PSModules path -

PS C:\Windows\system32> get-module PowerShellAccessControl -ListAvailable Directory: C:\Program Files\WindowsPowerShell\Modules ModuleType Version Name ExportedCommands

Script 4.0.81.... PowerShellAccessControl {New-PacAccessMask, Get-Pac

PS C:\Windows\system32> get-dscresource -Module PowershellAccessControl ImplementedAs Name ModuleName Version

PowerShell cAccessControlEntry PowerShellAccessControl 4.0.81.. PowerShell cSecurityDescriptor PowerShellAccessControl 4.0.81.. PowerShell cSecurityDescriptorSddl PowerShellAccessControl 4.0.81..

Verified the files in the module folder are not blocked

Any ideas ? -thanks

mpeter13 commented 6 years ago

Found script generated wasn't adding the import for PowerShellAccessControl